Class AsyncContinuationJobHandler
- java.lang.Object
-
- org.camunda.bpm.engine.impl.jobexecutor.AsyncContinuationJobHandler
-
- All Implemented Interfaces:
JobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
public class AsyncContinuationJobHandler extends java.lang.Object implements JobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
- Author:
- Daniel Meyer, Thorben Lindhauer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AsyncContinuationJobHandler.AsyncContinuationConfiguration
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TYPE
-
Constructor Summary
Constructors Constructor Description AsyncContinuationJobHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(AsyncContinuationJobHandler.AsyncContinuationConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, java.lang.String tenantId)
PvmAtomicOperation
findMatchingAtomicOperation(java.lang.String operationName)
java.lang.String
getType()
protected boolean
isSupported(PvmAtomicOperation atomicOperation)
AsyncContinuationJobHandler.AsyncContinuationConfiguration
newConfiguration(java.lang.String canonicalString)
void
onDelete(AsyncContinuationJobHandler.AsyncContinuationConfiguration configuration, JobEntity jobEntity)
Clean up before job is deleted.protected java.lang.String[]
tokenizeJobConfiguration(java.lang.String jobConfiguration)
-
-
-
Field Detail
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public java.lang.String getType()
- Specified by:
getType
in interfaceJobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
-
execute
public void execute(AsyncContinuationJobHandler.AsyncContinuationConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, java.lang.String tenantId)
- Specified by:
execute
in interfaceJobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
-
findMatchingAtomicOperation
public PvmAtomicOperation findMatchingAtomicOperation(java.lang.String operationName)
-
isSupported
protected boolean isSupported(PvmAtomicOperation atomicOperation)
-
newConfiguration
public AsyncContinuationJobHandler.AsyncContinuationConfiguration newConfiguration(java.lang.String canonicalString)
- Specified by:
newConfiguration
in interfaceJobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
-
tokenizeJobConfiguration
protected java.lang.String[] tokenizeJobConfiguration(java.lang.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 interfaceJobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
- Parameters:
configuration
- the job handler configurationjobEntity
- the job entity to be deleted
-
-