Interface WorkflowActivity


  • public interface WorkflowActivity
    Represents a workflow activity.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getCaption()
      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.
      WorkflowActivityType getType()
      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.
      • 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.