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
Nested Classes Modifier and Type Class Description static class
AsyncContinuationJobHandler.AsyncContinuationConfiguration
-
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, String tenantId)
PvmAtomicOperation
findMatchingAtomicOperation(String operationName)
String
getType()
protected boolean
isSupported(PvmAtomicOperation atomicOperation)
AsyncContinuationJobHandler.AsyncContinuationConfiguration
newConfiguration(String canonicalString)
void
onDelete(AsyncContinuationJobHandler.AsyncContinuationConfiguration configuration, JobEntity jobEntity)
Clean up before job is deleted.protected String[]
tokenizeJobConfiguration(String jobConfiguration)
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String 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
public PvmAtomicOperation findMatchingAtomicOperation(String operationName)
-
isSupported
protected boolean isSupported(PvmAtomicOperation atomicOperation)
-
newConfiguration
public AsyncContinuationJobHandler.AsyncContinuationConfiguration newConfiguration(String canonicalString)
- Specified by:
newConfiguration
in interfaceJobHandler<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 interfaceJobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
- Parameters:
configuration
- the job handler configurationjobEntity
- the job entity to be deleted
-
-