public class InSessionBonitaWork extends WrappingBonitaWork
TENANT_ACCESSORtenantId| Constructor and Description |
|---|
InSessionBonitaWork(BonitaWork work) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleFailure(java.lang.Throwable e,
java.util.Map<java.lang.String,java.lang.Object> context) |
protected void |
logIncident(java.lang.Throwable cause,
java.lang.Exception exceptionWhenHandlingFailure) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
work(java.util.Map<java.lang.String,java.lang.Object> context)
Execution code of the work
|
getDescription, getRecoveryProcedure, getTenantId, getWrappedWork, setTenantId, toStringgetTenantAccessorequals, getParent, getRootWork, getUuid, hashCode, setParentpublic InSessionBonitaWork(BonitaWork work)
protected void logIncident(java.lang.Throwable cause,
java.lang.Exception exceptionWhenHandlingFailure)
public java.util.concurrent.CompletableFuture<java.lang.Void> work(java.util.Map<java.lang.String,java.lang.Object> context)
throws java.lang.Exception
BonitaWorkwork in class BonitaWorkcontext - a map of context that can be filled by a work to be given to a wrapped workjava.lang.Exceptionpublic void handleFailure(java.lang.Throwable e,
java.util.Map<java.lang.String,java.lang.Object> context)
handleFailure in class WrappingBonitaWork