public class InSessionBonitaWork extends WrappingBonitaWork
TENANT_ACCESSORtenantId| Constructor and Description |
|---|
InSessionBonitaWork(BonitaWork work) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleFailure(Throwable e,
Map<String,Object> context) |
protected void |
logIncident(Throwable cause,
Exception exceptionWhenHandlingFailure) |
CompletableFuture<Void> |
work(Map<String,Object> context)
Execution code of the work
|
getDescription, getRecoveryProcedure, getTenantId, getWrappedWork, setTenantId, toStringgetTenantAccessorpublic InSessionBonitaWork(BonitaWork work)
public CompletableFuture<Void> work(Map<String,Object> context) throws Exception
BonitaWorkwork in class BonitaWorkcontext - a map of context that can be filled by a work to be given to a wrapped workExceptionpublic void handleFailure(Throwable e, Map<String,Object> context)
handleFailure in class WrappingBonitaWorkCopyright © 2018 Bonitasoft S.A.. All rights reserved.