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 TypeMethodDescriptionvoid
execute
(JobEntity job, String configuration, VariableScope variableScope, CommandContext commandContext) protected void
executeEscalationStep
(TaskEntity task, EscalationDefinition escalationDefinition, CommandContext commandContext) protected Task
getCaseTask
(String taskId, CommandContext commandContext) protected EngageEngineConfiguration
getEngageEngineConfiguration
(TaskEntity task, CommandContext commandContext) protected ExpressionManager
getExpressionManager
(TaskEntity task, CommandContext commandContext) protected Task
getProcessTask
(String taskId, CommandContext commandContext) protected SlaDefinitionModel
getSlaDefinitionModel
(String slaDefinitionId) protected Task
getTask
(String taskId, JobEntity job, CommandContext commandContext) getType()
protected com.fasterxml.jackson.databind.JsonNode
readConfiguration
(JobEntity job, String configuration, boolean isCaseTask, CommandContext commandContext)
-
Field Details
-
HANDLER_TYPE
- See Also:
-
-
Constructor Details
-
EngageSlaEscalationJobHandler
public EngageSlaEscalationJobHandler()
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceJobHandler
-
execute
public void execute(JobEntity job, String configuration, VariableScope variableScope, CommandContext commandContext) - Specified by:
execute
in 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)
-