Interface PriorityProvider<T>

Type Parameters:
T - the type of the extra param to determine the priority
All Known Implementing Classes:
DefaultExternalTaskPriorityProvider, DefaultJobPriorityProvider, DefaultPriorityProvider

public interface PriorityProvider<T>
Christopher Zell <>
  • Method Details

    • determinePriority

      long determinePriority(ExecutionEntity execution, T param, String jobDefinitionId)
      execution - may be null when the job is not created in the context of a running process instance (e.g. a timer start event)
      param - extra parameter to determine priority on
      jobDefinitionId - the job definition id if related to a job
      the determined priority