Class SlaEscalationJobHandler

java.lang.Object
com.flowable.platform.service.jobhandler.SlaEscalationJobHandler
All Implemented Interfaces:
org.flowable.job.service.JobHandler

public class SlaEscalationJobHandler extends Object implements org.flowable.job.service.JobHandler
A job handler handling SLA based escalation steps for tasks.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    protected void
    executeEscalationStep(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, 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 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)
     
    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)
     
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • SlaEscalationJobHandler

      public SlaEscalationJobHandler()
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface org.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 interface org.flowable.job.service.JobHandler
    • executeEscalationStep

      protected void executeEscalationStep(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, EscalationDefinition escalationDefinition, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
    • getSlaDefinitionModel

      protected SlaDefinitionModel getSlaDefinitionModel(String slaDefinitionId)
    • 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)