Class EngageSlaEscalationJobHandler
java.lang.Object
com.flowable.engage.engine.impl.jobhandler.EngageSlaEscalationJobHandler
- All Implemented Interfaces:
org.flowable.job.service.JobHandler
public class EngageSlaEscalationJobHandler
extends Object
implements org.flowable.job.service.JobHandler
A job handler handling Engage SLA based escalation steps for tasks.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(org.flowable.job.service.impl.persistence.entity.JobEntity job, String configuration, org.flowable.variable.api.delegate.VariableScope variableScope, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) protected void
executeEscalationStep
(org.flowable.task.service.impl.persistence.entity.TaskEntity task, EscalationDefinition escalationDefinition, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) protected org.flowable.task.api.Task
getCaseTask
(String taskId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) protected EngageEngineConfiguration
getEngageEngineConfiguration
(org.flowable.task.service.impl.persistence.entity.TaskEntity task, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) protected org.flowable.common.engine.impl.el.ExpressionManager
getExpressionManager
(org.flowable.task.service.impl.persistence.entity.TaskEntity task, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) protected org.flowable.task.api.Task
getProcessTask
(String taskId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) protected SlaDefinitionModel
getSlaDefinitionModel
(String slaDefinitionId) protected org.flowable.task.api.Task
getTask
(String taskId, org.flowable.job.service.impl.persistence.entity.JobEntity job, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) getType()
protected com.fasterxml.jackson.databind.JsonNode
readConfiguration
(org.flowable.job.service.impl.persistence.entity.JobEntity job, String configuration, boolean isCaseTask, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-
Field Details
-
HANDLER_TYPE
- See Also:
-
-
Constructor Details
-
EngageSlaEscalationJobHandler
public EngageSlaEscalationJobHandler()
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceorg.flowable.job.service.JobHandler
-
execute
public void execute(org.flowable.job.service.impl.persistence.entity.JobEntity job, String configuration, org.flowable.variable.api.delegate.VariableScope variableScope, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
execute
in interfaceorg.flowable.job.service.JobHandler
-
executeEscalationStep
protected void executeEscalationStep(org.flowable.task.service.impl.persistence.entity.TaskEntity task, EscalationDefinition escalationDefinition, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
getSlaDefinitionModel
-
readConfiguration
protected com.fasterxml.jackson.databind.JsonNode readConfiguration(org.flowable.job.service.impl.persistence.entity.JobEntity job, String configuration, boolean isCaseTask, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
getTask
protected org.flowable.task.api.Task getTask(String taskId, org.flowable.job.service.impl.persistence.entity.JobEntity job, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
getProcessTask
protected org.flowable.task.api.Task getProcessTask(String taskId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
getCaseTask
protected org.flowable.task.api.Task getCaseTask(String taskId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
getExpressionManager
protected org.flowable.common.engine.impl.el.ExpressionManager getExpressionManager(org.flowable.task.service.impl.persistence.entity.TaskEntity task, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
getEngageEngineConfiguration
protected EngageEngineConfiguration getEngageEngineConfiguration(org.flowable.task.service.impl.persistence.entity.TaskEntity task, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-