Package com.mendix.workflows
Interface WorkflowActivity
-
public interface WorkflowActivityRepresents a workflow activity.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCaption()Returns the caption of the workflow activity.java.util.Optional<? extends Workflow>getSubWorkflow()Returns the sub workflow when the workflow activity is a Call Workflow activity and has a sub workflow, otherwise an empty Optional.WorkflowActivityTypegetType()Returns the workflow activity type.java.util.Optional<? extends UserTask>getUserTask()Returns the user task when the workflow activity is a User task activity, and it has an active user task, otherwise an empty Optional.
-
-
-
Method Detail
-
getCaption
java.lang.String getCaption()
Returns the caption of the workflow activity.
-
getType
WorkflowActivityType getType()
Returns the workflow activity type.- Returns:
- the state
WorkflowActivityType
-
getUserTask
java.util.Optional<? extends UserTask> getUserTask()
Returns the user task when the workflow activity is a User task activity, and it has an active user task, otherwise an empty Optional.
-
getSubWorkflow
java.util.Optional<? extends Workflow> getSubWorkflow()
Returns the sub workflow when the workflow activity is a Call Workflow activity and has a sub workflow, otherwise an empty Optional.
-
-