Class EngageSlaEscalationJobHandler
java.lang.Object
com.flowable.engage.engine.impl.jobhandler.EngageSlaEscalationJobHandler
- All Implemented Interfaces:
JobHandler
A job handler handling Engage SLA based escalation steps for tasks.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(JobEntity job, String configuration, VariableScope variableScope, CommandContext commandContext) protected voidexecuteEscalationStep(TaskEntity task, EscalationDefinition escalationDefinition, CommandContext commandContext) protected TaskgetCaseTask(String taskId, CommandContext commandContext) protected EngageEngineConfigurationgetEngageEngineConfiguration(TaskEntity task, CommandContext commandContext) protected ExpressionManagergetExpressionManager(TaskEntity task, CommandContext commandContext) protected TaskgetProcessTask(String taskId, CommandContext commandContext) protected SlaDefinitionModelgetSlaDefinitionModel(String slaDefinitionId) protected TaskgetTask(String taskId, JobEntity job, CommandContext commandContext) getType()protected com.fasterxml.jackson.databind.JsonNodereadConfiguration(JobEntity job, String configuration, boolean isCaseTask, CommandContext commandContext)
-
Field Details
-
HANDLER_TYPE
- See Also:
-
-
Constructor Details
-
EngageSlaEscalationJobHandler
public EngageSlaEscalationJobHandler()
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceJobHandler
-
execute
public void execute(JobEntity job, String configuration, VariableScope variableScope, CommandContext commandContext) - Specified by:
executein interfaceJobHandler
-
executeEscalationStep
protected void executeEscalationStep(TaskEntity task, EscalationDefinition escalationDefinition, CommandContext commandContext) -
getSlaDefinitionModel
-
readConfiguration
protected com.fasterxml.jackson.databind.JsonNode readConfiguration(JobEntity job, String configuration, boolean isCaseTask, CommandContext commandContext) -
getTask
-
getProcessTask
-
getCaseTask
-
getExpressionManager
-
getEngageEngineConfiguration
protected EngageEngineConfiguration getEngageEngineConfiguration(TaskEntity task, CommandContext commandContext)
-