Class ExecuteFlowNodeWork
java.lang.Object
org.bonitasoft.engine.work.BonitaWork
org.bonitasoft.engine.execution.work.TenantAwareBonitaWork
org.bonitasoft.engine.execution.work.ExecuteFlowNodeWork
Work that is responsible of executing a flow node.
If the execution fails it will put the flow node in failed state
- Author:
- Baptiste Mesta, Celine Souchet, Matthieu Chaffotte
-
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
Methods 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
-
getDescription
- Specified by:
getDescriptionin classBonitaWork
-
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
-
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
-