public class LockProcessInstanceWork extends WrappingBonitaWork
| Modifier and Type | Field and Description |
|---|---|
protected long |
processInstanceId |
TENANT_ACCESSORtenantId| Constructor and Description |
|---|
LockProcessInstanceWork(BonitaWork wrappedWork,
long processInstanceId) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
work(Map<String,Object> context)
Execution code of the work
|
getDescription, getRecoveryProcedure, getTenantId, getWrappedWork, handleFailure, setTenantId, toStringgetTenantAccessorpublic LockProcessInstanceWork(BonitaWork wrappedWork, long processInstanceId)
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 workExceptionCopyright © 2018 Bonitasoft S.A.. All rights reserved.