Interface ProcessWorkItemTransitionEvent
- All Superinterfaces:
org.kie.api.event.KieRuntimeEvent,org.kie.api.event.process.ProcessEvent
public interface ProcessWorkItemTransitionEvent
extends org.kie.api.event.process.ProcessEvent
An event when a work item has transition between life cycle phases
-
Method Summary
Modifier and TypeMethodDescriptionReturns transition that is applied to the work itemReturns work item being transitionedbooleanIndicated is the transition has already been done.Methods inherited from interface org.kie.api.event.KieRuntimeEvent
getKieRuntimeMethods inherited from interface org.kie.api.event.process.ProcessEvent
getEventDate, getEventIdentity, getProcessInstance
-
Method Details
-
getWorkItem
KogitoWorkItem getWorkItem()Returns work item being transitioned- Returns:
- work item
-
getTransition
WorkItemTransition getTransition()Returns transition that is applied to the work item- Returns:
- transition
-
isTransitioned
boolean isTransitioned()Indicated is the transition has already been done.- Returns:
- true if transition has already been done, otherwise false
-