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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(AsyncContinuationJobHandler.AsyncContinuationConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId) findMatchingAtomicOperation
(String operationName) getType()
protected boolean
isSupported
(PvmAtomicOperation atomicOperation) newConfiguration
(String canonicalString) void
onDelete
(AsyncContinuationJobHandler.AsyncContinuationConfiguration configuration, JobEntity jobEntity) Clean up before job is deleted.protected String[]
tokenizeJobConfiguration
(String jobConfiguration)
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
AsyncContinuationJobHandler
public AsyncContinuationJobHandler()
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceJobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
-
execute
public void execute(AsyncContinuationJobHandler.AsyncContinuationConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId) - Specified by:
execute
in interfaceJobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
-
findMatchingAtomicOperation
-
isSupported
-
newConfiguration
public AsyncContinuationJobHandler.AsyncContinuationConfiguration newConfiguration(String canonicalString) - Specified by:
newConfiguration
in interfaceJobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
-
tokenizeJobConfiguration
- 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 interfaceJobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
- Parameters:
configuration
- the job handler configurationjobEntity
- the job entity to be deleted
-