org.camunda.bpm.engine.impl
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

Method Summary
 long determinePriority(ExecutionEntity execution, T param, String jobDefinitionId)
           
 

Method Detail

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


Copyright © 2017 camunda services GmbH. All rights reserved.