org.camunda.bpm.engine.impl.jobexecutor
Class TimerChangeProcessDefinitionSuspensionStateJobHandler
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.TimerChangeProcessDefinitionSuspensionStateJobHandler
- All Implemented Interfaces:
- JobHandler
- Direct Known Subclasses:
- TimerActivateProcessDefinitionHandler, TimerSuspendProcessDefinitionHandler
public abstract class TimerChangeProcessDefinitionSuspensionStateJobHandler
- extends Object
- implements JobHandler
- Author:
- Joram Barrez, 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_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
TimerChangeProcessDefinitionSuspensionStateJobHandler
public TimerChangeProcessDefinitionSuspensionStateJobHandler()
createJobHandlerConfigurationByProcessDefinitionId
public static String createJobHandlerConfigurationByProcessDefinitionId(String processDefinitionId,
boolean includeProcessInstances)
createJobHandlerConfigurationByProcessDefinitionKey
public static String createJobHandlerConfigurationByProcessDefinitionKey(String processDefinitionKey,
boolean includeProcessInstances)
execute
public void execute(String configuration,
ExecutionEntity execution,
CommandContext commandContext)
- Specified by:
execute in interface JobHandler
getProcessDefinitionId
protected String getProcessDefinitionId(JSONObject config)
getProcessDefinitionKey
protected String getProcessDefinitionKey(JSONObject config)
getBy
protected String getBy(JSONObject config)
getIncludeProcessInstances
protected boolean getIncludeProcessInstances(JSONObject config)
getCommand
protected abstract AbstractSetProcessDefinitionStateCmd getCommand(String configuration)
Copyright © 2015 camunda services GmbH. All rights reserved.