org.camunda.bpm.engine.impl.jobexecutor
Class AsyncContinuationJobHandler
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.AsyncContinuationJobHandler
- All Implemented Interfaces:
- JobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
public class AsyncContinuationJobHandler
- extends Object
- implements JobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
- Author:
- Daniel Meyer, Thorben Lindhauer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
AsyncContinuationJobHandler
public AsyncContinuationJobHandler()
getType
public String getType()
- Specified by:
getType
in interface JobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
execute
public void execute(AsyncContinuationJobHandler.AsyncContinuationConfiguration configuration,
ExecutionEntity execution,
CommandContext commandContext,
String tenantId)
- Specified by:
execute
in interface JobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
findMatchingAtomicOperation
public PvmAtomicOperation findMatchingAtomicOperation(String operationName)
isSupported
protected boolean isSupported(PvmAtomicOperation atomicOperation)
newConfiguration
public AsyncContinuationJobHandler.AsyncContinuationConfiguration newConfiguration(String canonicalString)
- Specified by:
newConfiguration
in interface JobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
tokenizeJobConfiguration
protected String[] tokenizeJobConfiguration(String jobConfiguration)
- Returns:
- an array of length two with the following contents:
- First element: pvm atomic operation name
- Second element: transition id (may be null)
onDelete
public void onDelete(AsyncContinuationJobHandler.AsyncContinuationConfiguration configuration,
JobEntity jobEntity)
- Description copied from interface:
JobHandler
- Clean up before job is deleted. Like removing of auxiliary entities specific for this job handler.
- Specified by:
onDelete
in interface JobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
- Parameters:
configuration
- the job handler configurationjobEntity
- the job entity to be deleted
Copyright © 2018 camunda services GmbH. All rights reserved.