public class ActivateJobDefinitionCmd extends AbstractSetJobDefinitionStateCmd
executionDate, includeJobs, jobDefinitionId, processDefinitionId, processDefinitionKey
Constructor and Description |
---|
ActivateJobDefinitionCmd(String jobDefinitionId,
String processDefinitionId,
String processDefinitionKey,
boolean includeJobs,
Date executionDate) |
Modifier and Type | Method and Description |
---|---|
protected String |
getDelayedExecutionJobHandlerType()
Subclasses should return the type of the
JobHandler here. |
protected AbstractSetJobStateCmd |
getSetJobStateCmd()
Subclasses should return the type of the
AbstractSetJobStateCmd here. |
protected SuspensionState |
getSuspensionState()
Subclasses should return the wanted
SuspensionState here. |
execute
protected SuspensionState getSuspensionState()
AbstractSetJobDefinitionStateCmd
SuspensionState
here.getSuspensionState
in class AbstractSetJobDefinitionStateCmd
protected String getDelayedExecutionJobHandlerType()
AbstractSetJobDefinitionStateCmd
JobHandler
here. it will be used when
the user provides an execution date on which the actual state change will happen.getDelayedExecutionJobHandlerType
in class AbstractSetJobDefinitionStateCmd
protected AbstractSetJobStateCmd getSetJobStateCmd()
AbstractSetJobDefinitionStateCmd
AbstractSetJobStateCmd
here.
It will be used to suspend or activate the Job
s.getSetJobStateCmd
in class AbstractSetJobDefinitionStateCmd
Copyright © 2018. All rights reserved.