public class HistoryCleanupJobDeclaration extends JobDeclaration<HistoryCleanupContext,EverLivingJobEntity>
activity, exclusive, jobConfiguration, jobDefinitionId, jobHandlerConfiguration, jobHandlerType, jobPriorityProvider
Constructor and Description |
---|
HistoryCleanupJobDeclaration() |
Modifier and Type | Method and Description |
---|---|
protected EverLivingJobEntity |
newJobInstance(HistoryCleanupContext context) |
protected void |
postInitialize(HistoryCleanupContext context,
EverLivingJobEntity job)
general callback to override any configuration after the defaults have been applied
|
EverLivingJobEntity |
reconfigure(HistoryCleanupContext context,
EverLivingJobEntity job)
Re-initialize configuration part.
|
Date |
resolveDueDate(HistoryCleanupContext context) |
protected ExecutionEntity |
resolveExecution(HistoryCleanupContext context)
Returns the execution in which context the job is created.
|
protected HistoryCleanupJobHandlerConfiguration |
resolveJobHandlerConfiguration(HistoryCleanupContext context) |
createJobInstance, getActivity, getActivityId, getJobConfiguration, getJobDefinitionId, getJobHandlerType, getJobPriorityProvider, getProcessDefinition, isExclusive, resolveExclusive, resolveJobDefinitionId, resolveJobHandler, resolveJobHandlerType, resolveRetries, setActivity, setExclusive, setJobConfiguration, setJobDefinitionId, setJobPriorityProvider
protected ExecutionEntity resolveExecution(HistoryCleanupContext context)
JobDeclaration
resolveExecution
in class JobDeclaration<HistoryCleanupContext,EverLivingJobEntity>
protected EverLivingJobEntity newJobInstance(HistoryCleanupContext context)
newJobInstance
in class JobDeclaration<HistoryCleanupContext,EverLivingJobEntity>
protected void postInitialize(HistoryCleanupContext context, EverLivingJobEntity job)
JobDeclaration
postInitialize
in class JobDeclaration<HistoryCleanupContext,EverLivingJobEntity>
public EverLivingJobEntity reconfigure(HistoryCleanupContext context, EverLivingJobEntity job)
JobDeclaration
reconfigure
in class JobDeclaration<HistoryCleanupContext,EverLivingJobEntity>
protected HistoryCleanupJobHandlerConfiguration resolveJobHandlerConfiguration(HistoryCleanupContext context)
resolveJobHandlerConfiguration
in class JobDeclaration<HistoryCleanupContext,EverLivingJobEntity>
public Date resolveDueDate(HistoryCleanupContext context)
resolveDueDate
in class JobDeclaration<HistoryCleanupContext,EverLivingJobEntity>
Copyright © 2019. All rights reserved.