Class AsyncLeaveJobHandler
- java.lang.Object
-
- org.flowable.engine.impl.jobexecutor.AsyncLeaveJobHandler
-
- All Implemented Interfaces:
JobHandler
public class AsyncLeaveJobHandler extends Object implements JobHandler
- Author:
- Joram Barrez
-
-
Constructor Summary
Constructors Constructor Description AsyncLeaveJobHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringcreateJobConfiguration(ProcessEngineConfiguration processEngineConfiguration, boolean evaluateConditions)static StringcreateJobConfiguration(ProcessEngineConfiguration processEngineConfiguration, org.flowable.bpmn.model.SequenceFlow sequenceFlow)protected org.flowable.bpmn.model.SequenceFlowdetermineSequenceFlow(JobEntity job, ExecutionEntity executionEntity, com.fasterxml.jackson.databind.JsonNode jobConfigurationJson)voidexecute(JobEntity job, String configuration, org.flowable.variable.api.delegate.VariableScope variableScope, CommandContext commandContext)StringgetType()protected booleanisAsyncLeaveWithSpecificSequenceFlow(com.fasterxml.jackson.databind.JsonNode jobConfigurationJson)
-
-
-
Field Detail
-
LOGGER
public static final org.slf4j.Logger LOGGER
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getTypein interfaceJobHandler
-
execute
public void execute(JobEntity job, String configuration, org.flowable.variable.api.delegate.VariableScope variableScope, CommandContext commandContext)
- Specified by:
executein interfaceJobHandler
-
isAsyncLeaveWithSpecificSequenceFlow
protected boolean isAsyncLeaveWithSpecificSequenceFlow(com.fasterxml.jackson.databind.JsonNode jobConfigurationJson)
-
determineSequenceFlow
protected org.flowable.bpmn.model.SequenceFlow determineSequenceFlow(JobEntity job, ExecutionEntity executionEntity, com.fasterxml.jackson.databind.JsonNode jobConfigurationJson)
-
createJobConfiguration
public static String createJobConfiguration(ProcessEngineConfiguration processEngineConfiguration, boolean evaluateConditions)
-
createJobConfiguration
public static String createJobConfiguration(ProcessEngineConfiguration processEngineConfiguration, org.flowable.bpmn.model.SequenceFlow sequenceFlow)
-
-