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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(JobEntity job, String configuration, VariableScope variableScope, CommandContext commandContext) protected voidexecuteEscalationStep(TaskEntity taskEntity, EscalationDefinition escalationDefinition, CommandContext commandContext) protected TaskgetCaseTask(String taskId, 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
-
SlaEscalationJobHandler
public SlaEscalationJobHandler()
-
-
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 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
-