org.camunda.bpm.engine.impl.externaltask
Class DefaultExternalTaskPriorityProvider
java.lang.Object
org.camunda.bpm.engine.impl.DefaultPriorityProvider<ExternalTaskActivityBehavior>
org.camunda.bpm.engine.impl.externaltask.DefaultExternalTaskPriorityProvider
- All Implemented Interfaces:
- PriorityProvider<ExternalTaskActivityBehavior>
public class DefaultExternalTaskPriorityProvider
- extends DefaultPriorityProvider<ExternalTaskActivityBehavior>
Represents the default priority provider for external tasks.
- Author:
- Christopher Zell
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final ExternalTaskLogger LOG
DefaultExternalTaskPriorityProvider
public DefaultExternalTaskPriorityProvider()
logNotDeterminingPriority
protected void logNotDeterminingPriority(ExecutionEntity execution,
Object value,
ProcessEngineException e)
- Description copied from class:
DefaultPriorityProvider
- Logs the exception which was thrown if the priority can not be determined.
- Specified by:
logNotDeterminingPriority in class DefaultPriorityProvider<ExternalTaskActivityBehavior>
- Parameters:
execution - the current execution entityvalue - the current valuee - the exception which was catched
getSpecificPriority
public Long getSpecificPriority(ExecutionEntity execution,
ExternalTaskActivityBehavior param)
- Description copied from class:
DefaultPriorityProvider
- Returns the priority defined in the specific entity. Like a job definition priority or
an activity priority. The result can also be null in that case the process
priority will be used.
- Specified by:
getSpecificPriority in class DefaultPriorityProvider<ExternalTaskActivityBehavior>
- Parameters:
execution - the current executionparam - the generic param
- Returns:
- the specific priority
getProcessDefinitionPriority
protected Long getProcessDefinitionPriority(ExecutionEntity execution,
ExternalTaskActivityBehavior param)
- Description copied from class:
DefaultPriorityProvider
- Returns the priority defined in the process definition. Can also be null
in that case the fallback is the default priority.
- Specified by:
getProcessDefinitionPriority in class DefaultPriorityProvider<ExternalTaskActivityBehavior>
- Parameters:
execution - the current executionparam - the generic param
- Returns:
- the priority defined in the process definition
Copyright © 2016 camunda services GmbH. All rights reserved.