Class HumanTaskWorkItemHandler
java.lang.Object
org.jbpm.process.instance.impl.humantask.HumanTaskWorkItemHandler
- All Implemented Interfaces:
KogitoWorkItemHandler
Work item handler to be used with human tasks (work items).
It uses
BaseHumanTaskLifeCycle by default but allows to plug in
another life cycle implementation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabortWorkItem(KogitoWorkItem workItem, KogitoWorkItemManager manager) static Stream<LifeCyclePhase>allowedPhases(KogitoWorkItemHandler handler, String phaseId) voidexecuteWorkItem(KogitoWorkItem workItem, KogitoWorkItemManager manager) voidtransitionToPhase(KogitoWorkItem workItem, KogitoWorkItemManager manager, Transition<?> transition) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kie.kogito.internal.process.runtime.KogitoWorkItemHandler
getName
-
Constructor Details
-
HumanTaskWorkItemHandler
public HumanTaskWorkItemHandler() -
HumanTaskWorkItemHandler
-
-
Method Details
-
executeWorkItem
- Specified by:
executeWorkItemin interfaceKogitoWorkItemHandler
-
abortWorkItem
- Specified by:
abortWorkItemin interfaceKogitoWorkItemHandler
-
transitionToPhase
public void transitionToPhase(KogitoWorkItem workItem, KogitoWorkItemManager manager, Transition<?> transition) - Specified by:
transitionToPhasein interfaceKogitoWorkItemHandler
-
allowedPhases
-