org.camunda.bpm.engine.impl.jobexecutor.historycleanup
Class HistoryCleanupJobDeclaration
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration<HistoryCleanupContext,EverLivingJobEntity>
org.camunda.bpm.engine.impl.jobexecutor.historycleanup.HistoryCleanupJobDeclaration
- All Implemented Interfaces:
- Serializable
public class HistoryCleanupJobDeclaration
- extends JobDeclaration<HistoryCleanupContext,EverLivingJobEntity>
Job declaration for history cleanup.
- Author:
- Svetlana Dorokhova
- See Also:
- Serialized Form
| Methods inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration |
createJobInstance, getActivity, getActivityId, getJobConfiguration, getJobDefinitionId, getJobHandlerType, getJobPriorityProvider, getProcessDefinition, isExclusive, resolveExclusive, resolveJobDefinitionId, resolveJobHandler, resolveJobHandlerType, resolveRetries, setActivity, setExclusive, setJobConfiguration, setJobDefinitionId, setJobPriorityProvider |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HistoryCleanupJobDeclaration
public HistoryCleanupJobDeclaration()
resolveExecution
protected ExecutionEntity resolveExecution(HistoryCleanupContext context)
- Description copied from class:
JobDeclaration
- Returns the execution in which context the job is created. The execution
is used to determine the job's priority based on a BPMN activity
the execution is currently executing. May be null.
- Specified by:
resolveExecution in class JobDeclaration<HistoryCleanupContext,EverLivingJobEntity>
newJobInstance
protected EverLivingJobEntity newJobInstance(HistoryCleanupContext context)
- Specified by:
newJobInstance in class JobDeclaration<HistoryCleanupContext,EverLivingJobEntity>
postInitialize
protected void postInitialize(HistoryCleanupContext context,
EverLivingJobEntity job)
- Description copied from class:
JobDeclaration
- general callback to override any configuration after the defaults have been applied
- Overrides:
postInitialize in class JobDeclaration<HistoryCleanupContext,EverLivingJobEntity>
reconfigure
public EverLivingJobEntity reconfigure(HistoryCleanupContext context,
EverLivingJobEntity job)
- Description copied from class:
JobDeclaration
- Re-initialize configuration part.
- Overrides:
reconfigure in class JobDeclaration<HistoryCleanupContext,EverLivingJobEntity>
resolveJobHandlerConfiguration
protected HistoryCleanupJobHandlerConfiguration resolveJobHandlerConfiguration(HistoryCleanupContext context)
- Specified by:
resolveJobHandlerConfiguration in class JobDeclaration<HistoryCleanupContext,EverLivingJobEntity>
resolveDueDate
public Date resolveDueDate(HistoryCleanupContext context)
- Overrides:
resolveDueDate in class JobDeclaration<HistoryCleanupContext,EverLivingJobEntity>
Copyright © 2017 camunda services GmbH. All rights reserved.