org.camunda.bpm.engine.impl.jobexecutor
Class TimerChangeJobDefinitionSuspensionStateJobHandler
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.TimerChangeJobDefinitionSuspensionStateJobHandler
- All Implemented Interfaces:
- JobHandler
- Direct Known Subclasses:
- TimerActivateJobDefinitionHandler, TimerSuspendJobDefinitionHandler
public abstract class TimerChangeJobDefinitionSuspensionStateJobHandler
- extends Object
- implements JobHandler
- Author:
- roman.smirnov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.camunda.bpm.engine.impl.jobexecutor.JobHandler |
getType |
JOB_HANDLER_CFG_BY
protected static final String JOB_HANDLER_CFG_BY
- See Also:
- Constant Field Values
JOB_HANDLER_CFG_JOB_DEFINITION_ID
protected static final String JOB_HANDLER_CFG_JOB_DEFINITION_ID
- See Also:
- Constant Field Values
JOB_HANDLER_CFG_PROCESS_DEFINITION_ID
protected static final String JOB_HANDLER_CFG_PROCESS_DEFINITION_ID
- See Also:
- Constant Field Values
JOB_HANDLER_CFG_PROCESS_DEFINITION_KEY
protected static final String JOB_HANDLER_CFG_PROCESS_DEFINITION_KEY
- See Also:
- Constant Field Values
JOB_HANDLER_CFG_INCLUDE_JOBS
protected static final String JOB_HANDLER_CFG_INCLUDE_JOBS
- See Also:
- Constant Field Values
TimerChangeJobDefinitionSuspensionStateJobHandler
public TimerChangeJobDefinitionSuspensionStateJobHandler()
createJobHandlerConfigurationByJobDefinitionId
public static String createJobHandlerConfigurationByJobDefinitionId(String jobDefinitionId,
boolean includeJobs)
createJobHandlerConfigurationByProcessDefinitionId
public static String createJobHandlerConfigurationByProcessDefinitionId(String processDefinitionId,
boolean includeJobs)
createJobHandlerConfigurationByProcessDefinitionKey
public static String createJobHandlerConfigurationByProcessDefinitionKey(String processDefinitionKey,
boolean includeJobs)
execute
public void execute(String configuration,
ExecutionEntity execution,
CommandContext commandContext)
- Specified by:
execute in interface JobHandler
getJobDefinitionId
protected String getJobDefinitionId(JSONObject configuration)
getProcessDefinitionId
protected String getProcessDefinitionId(JSONObject configuration)
getProcessDefinitionKey
protected String getProcessDefinitionKey(JSONObject configuration)
getIncludeJobs
protected boolean getIncludeJobs(JSONObject configuration)
getBy
protected String getBy(JSONObject configuration)
getCommand
protected abstract AbstractSetJobDefinitionStateCmd getCommand(String configuration)
Copyright © 2016 camunda services GmbH. All rights reserved.