Class SlaEscalationJobHandler
java.lang.Object
com.flowable.platform.service.jobhandler.SlaEscalationJobHandler
- All Implemented Interfaces:
JobHandler
A job handler handling SLA based escalation steps for tasks.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(JobEntity job, String configuration, VariableScope variableScope, CommandContext commandContext) protected void
executeEscalationStep
(TaskEntity taskEntity, EscalationDefinition escalationDefinition, CommandContext commandContext) protected Task
getCaseTask
(String taskId, 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
-
SlaEscalationJobHandler
public SlaEscalationJobHandler()
-
-
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 taskEntity, 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
-