Uses of Interface
io.automatiko.engine.api.runtime.process.WorkItem
Packages that use WorkItem
Package
Description
Events emitted while process instances are executing.
The runtime engine classes, including KieSession and StatelessKieSession.
The process runtime classes.
-
Uses of WorkItem in io.automatiko.engine.api.event.process
Methods in io.automatiko.engine.api.event.process that return WorkItemModifier and TypeMethodDescriptionProcessWorkItemTransitionEvent.getWorkItem()Returns work item being transitioned -
Uses of WorkItem in io.automatiko.engine.api.runtime
Methods in io.automatiko.engine.api.runtime that return WorkItemMethods in io.automatiko.engine.api.runtime that return types with arguments of type WorkItemMethods in io.automatiko.engine.api.runtime with parameters of type WorkItemModifier and TypeMethodDescriptionvoidInternalWorkItemManager.internalAddWorkItem(WorkItem workItem) voidInternalWorkItemManager.internalCompleteWorkItem(WorkItem workItem) voidInternalWorkItemManager.internalExecuteWorkItem(WorkItem workItem) -
Uses of WorkItem in io.automatiko.engine.api.runtime.process
Subinterfaces of WorkItem in io.automatiko.engine.api.runtime.processModifier and TypeInterfaceDescriptioninterfaceDedicated extension to WorkItem to cover needs of human tasksMethods in io.automatiko.engine.api.runtime.process with parameters of type WorkItemModifier and TypeMethodDescriptionvoidWorkItemHandler.abortWorkItem(WorkItem workItem, WorkItemManager manager) The given work item should be aborted.voidWorkItemHandler.executeWorkItem(WorkItem workItem, WorkItemManager manager) The given work item should be executed.default voidWorkItemHandler.transitionToPhase(WorkItem workItem, WorkItemManager manager, Transition<?> transition) Allows to transition given work item into another life cycle phase as defined in the given transition object. -
Uses of WorkItem in io.automatiko.engine.api.workflow.workitem
Methods in io.automatiko.engine.api.workflow.workitem with parameters of type WorkItemModifier and TypeMethodDescriptiondefault voidLifeCyclePhase.apply(WorkItem workitem, Transition<?> transition) Optional extra work to be applied on work item upon transition to this phasevoidWorkItemExecutionManager.complete(String processId, String name, WorkItem workItem, WorkItemManager manager, Object source, Function<Throwable, Throwable> errorMapper) Invoked on completion of the service associated with work itemReturns current data set for given work itemLifeCycle.transitionTo(WorkItem workItem, WorkItemManager manager, Transition<T> transition) Perform actual transition to the target phase defined via given transition