T
- the type of the extra param to determine the prioritypublic interface PriorityProvider<T>
Modifier and Type | Method and Description |
---|---|
long |
determinePriority(ExecutionEntity execution,
T param,
String jobDefinitionId) |
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 onjobDefinitionId
- the job definition id if related to a jobCopyright © 2022. All rights reserved.