Package org.flowable.cmmn.api.event
Interface FlowableCaseStageEndedEvent
- All Superinterfaces:
FlowableEngineEntityEvent,FlowableEngineEvent,FlowableEntityEvent,FlowableEvent
An event representing a CMMN case stage being ended either manually through termination or with an exit sentry or by completing it.
- Author:
- Micha Kiener
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the case instance the stage belongs to.Returns the ending state of the case stage which can beENDING_STATE_COMPLETEDorENDING_STATE_TERMINATED.Overwritten in order to return the stage plan item instance.Methods inherited from interface org.flowable.common.engine.api.delegate.event.FlowableEngineEvent
getExecutionId, getProcessDefinitionId, getProcessInstanceId, getScopeDefinitionId, getScopeId, getScopeType, getSubScopeIdMethods inherited from interface org.flowable.common.engine.api.delegate.event.FlowableEvent
getType
-
Field Details
-
ENDING_STATE_COMPLETED
- See Also:
-
ENDING_STATE_TERMINATED
- See Also:
-
-
Method Details
-
getEndingState
String getEndingState()Returns the ending state of the case stage which can beENDING_STATE_COMPLETEDorENDING_STATE_TERMINATED.- Returns:
- the ending state of the stage
-
getCaseInstance
CaseInstance getCaseInstance()Returns the case instance the stage belongs to.- Returns:
- the case instance
-
getEntity
PlanItemInstance getEntity()Overwritten in order to return the stage plan item instance.- Specified by:
getEntityin interfaceFlowableEntityEvent- Returns:
- the stage plan item instance
-