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>
Author:
Christopher Zell <christopher.zell@camunda.com>
  • Method Details

    • determinePriority

      long determinePriority(ExecutionEntity execution, T param, String jobDefinitionId)
      Parameters:
      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
      Returns:
      the determined priority