Class NotifyChildFinishedWork
java.lang.Object
org.bonitasoft.engine.work.BonitaWork
org.bonitasoft.engine.execution.work.TenantAwareBonitaWork
org.bonitasoft.engine.execution.work.NotifyChildFinishedWork
Work that notify a container that a flow node is in completed state
e.g. when a flow node of a process finish we evaluate the outgoing transitions of this flow node.
- Author:
- Baptiste Mesta, Celine Souchet
-
Field Summary
Fields inherited from class org.bonitasoft.engine.execution.work.TenantAwareBonitaWork
SERVICE_ACCESSORFields inherited from class org.bonitasoft.engine.work.BonitaWork
tenantId -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected ClassLoadergetClassLoader(Map<String, Object> context) voidhandleFailure(Throwable e, Map<String, Object> context) toString()Execution code of the workMethods inherited from class org.bonitasoft.engine.execution.work.TenantAwareBonitaWork
getServiceAccessorMethods inherited from class org.bonitasoft.engine.work.BonitaWork
equals, getParent, getRecoveryProcedure, getRootWork, getUuid, hashCode, setParent
-
Method Details
-
getClassLoader
- Throws:
SBonitaException
-
work
Description copied from class:BonitaWorkExecution code of the work- Specified by:
workin classBonitaWork- Parameters:
context- a map of context that can be filled by a work to be given to a wrapped work- Throws:
Exception
-
getDescription
- Specified by:
getDescriptionin classBonitaWork
-
handleFailure
- Specified by:
handleFailurein classBonitaWork- Throws:
Exception
-
toString
-
canBeRecoveredByTheRecoveryMechanism
public boolean canBeRecoveredByTheRecoveryMechanism()- Overrides:
canBeRecoveredByTheRecoveryMechanismin classBonitaWork- Returns:
- true if the RecoveryService can recover this kind of failure
-