Interface WorkflowActivity


public interface WorkflowActivity
Represents a workflow activity.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the caption of the workflow activity.
    Optional<? extends Workflow>
    Returns the sub workflow when the workflow activity is a Call Workflow activity and has a sub workflow, otherwise an empty Optional.
    Returns the workflow activity type.
    Optional<? extends UserTask>
    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 Details

    • getCaption

      String getCaption()
      Returns the caption of the workflow activity.
    • getType

      Returns the workflow activity type.
      Returns:
      the state WorkflowActivityType
    • getUserTask

      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

      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.