public interface Workflowable
Task
Modifier and Type | Method and Description |
---|---|
void |
delete()
Deletes this Workflowable.
|
Color |
getColor()
Get the color of the current state.
|
Task |
getTask()
Get the possible assigned
Task or null. |
boolean |
hasTask()
Does this elements has a
Task assigned? |
void |
removeTask()
Removes a already set Task.
|
void |
setColor(Color color)
Set a new color.
|
void |
setTask(Task task)
Set the given
Task . |
@ApiDoc(comment="Does this elements has a Task assigned?", since="3.1.168") boolean hasTask()
Task
assigned?StoreElement
,
Task
@ApiDoc(comment="Get the possible assigned Task or null.", since="3.1.168") @Nullable Task getTask()
Task
or null.Task
,
setTask(Task)
@ApiDoc(comment="Set the given Task.", since="3.1.168") void setTask(Task task)
Task
.@ApiDoc(comment="Removes a already set Task.", since="3.1.168") void removeTask()
@ApiDoc(comment="Get the color of the current state.", since="3.1.168") @Nullable Color getColor()
State.getColor()
@ApiDoc(comment="Set a new color.", since="3.1.168") void setColor(Color color)
State.getColor()
@ApiDoc(comment="Deletes this Workflowable.", since="4.0.122") void delete() throws LockException
LockException
- if the direct parent is locked in a different sessionCopyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210