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 <christopher.zell@camunda.com>
-
Method Summary
Modifier and TypeMethodDescriptionlongdeterminePriority(ExecutionEntity execution, T param, String jobDefinitionId)
-
Method Details
-
determinePriority
- 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
-