Interface IAnyTask
- All Known Implementing Classes:
AnyTask
public interface IAnyTask
The Interface IAnyTask.
List of transition, each represents the possible decision for a task.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAttachment included in this task.booleanList of transitions included in this task.Gets the attachment.getId()Gets the id.Gets the list of transition.getType()Gets the type.voidsetAttachment(AnyTaskAttachment attachment) Sets the attachment.voidSets the id.voidsetTransitions(List<AnyTaskAction> transitions) Sets the transitions.voidSets the type.
-
Method Details
-
getId
String getId()Gets the id.- Returns:
- the id
-
setId
Sets the id.- Parameters:
id- the task id
-
setType
Sets the type.- Parameters:
type- the task type
-
getType
String getType()Gets the type.- Returns:
- the type
-
containsTransitions
boolean containsTransitions()List of transitions included in this task.- Returns:
- true, if list of transitions is set
-
getTransitions
List<AnyTaskAction> getTransitions()Gets the list of transition.- Returns:
- the transition list
-
setTransitions
Sets the transitions.- Parameters:
transitions- the new transitions
-
containsAttachment
boolean containsAttachment()Attachment included in this task.- Returns:
- true, if an attachment is set
-
setAttachment
Sets the attachment.- Parameters:
attachment- the task attachment
-
getAttachment
AnyTaskAttachment getAttachment()Gets the attachment.- Returns:
- the task attachment
-