Package io.zeebe.engine.processing.bpmn
Class WorkflowInstanceLifecycle
- java.lang.Object
-
- io.zeebe.engine.processing.bpmn.WorkflowInstanceLifecycle
-
public final class WorkflowInstanceLifecycle extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancanTerminate(WorkflowInstanceIntent currentState)static booleancanTransition(WorkflowInstanceIntent from, WorkflowInstanceIntent to)static booleanisActive(WorkflowInstanceIntent currentState)static booleanisElementInstanceState(WorkflowInstanceIntent state)static booleanisFinalState(WorkflowInstanceIntent state)static booleanisInitialState(WorkflowInstanceIntent state)static booleanisTerminating(WorkflowInstanceIntent currentState)static booleanisTokenState(WorkflowInstanceIntent state)
-
-
-
Method Detail
-
canTransition
public static boolean canTransition(WorkflowInstanceIntent from, WorkflowInstanceIntent to)
-
isFinalState
public static boolean isFinalState(WorkflowInstanceIntent state)
-
isInitialState
public static boolean isInitialState(WorkflowInstanceIntent state)
-
isElementInstanceState
public static boolean isElementInstanceState(WorkflowInstanceIntent state)
-
isTokenState
public static boolean isTokenState(WorkflowInstanceIntent state)
-
canTerminate
public static boolean canTerminate(WorkflowInstanceIntent currentState)
-
isActive
public static boolean isActive(WorkflowInstanceIntent currentState)
-
isTerminating
public static boolean isTerminating(WorkflowInstanceIntent currentState)
-
-