Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 onjobDefinitionId
- the job definition id if related to a job- Returns:
- the determined priority
-
-