public abstract class TimerChangeProcessDefinitionSuspensionStateJobHandler extends Object implements JobHandler
Modifier and Type | Field and Description |
---|---|
protected static String |
JOB_HANDLER_CFG_BY |
protected static String |
JOB_HANDLER_CFG_PROCESS_DEFINITION_ID |
protected static String |
JOB_HANDLER_CFG_PROCESS_DEFINITION_KEY |
Constructor and Description |
---|
TimerChangeProcessDefinitionSuspensionStateJobHandler() |
Modifier and Type | Method and Description |
---|---|
static String |
createJobHandlerConfigurationByProcessDefinitionId(String processDefinitionId,
boolean includeProcessInstances) |
static String |
createJobHandlerConfigurationByProcessDefinitionKey(String processDefinitionKey,
boolean includeProcessInstances) |
void |
execute(String configuration,
ExecutionEntity execution,
CommandContext commandContext) |
protected String |
getBy(JSONObject config) |
protected abstract AbstractSetProcessDefinitionStateCmd |
getCommand(String configuration) |
protected boolean |
getIncludeProcessInstances(JSONObject config) |
protected String |
getProcessDefinitionId(JSONObject config) |
protected String |
getProcessDefinitionKey(JSONObject config) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType
protected static final String JOB_HANDLER_CFG_BY
protected static final String JOB_HANDLER_CFG_PROCESS_DEFINITION_ID
protected static final String JOB_HANDLER_CFG_PROCESS_DEFINITION_KEY
public TimerChangeProcessDefinitionSuspensionStateJobHandler()
public static String createJobHandlerConfigurationByProcessDefinitionId(String processDefinitionId, boolean includeProcessInstances)
public static String createJobHandlerConfigurationByProcessDefinitionKey(String processDefinitionKey, boolean includeProcessInstances)
public void execute(String configuration, ExecutionEntity execution, CommandContext commandContext)
execute
in interface JobHandler
protected String getProcessDefinitionId(JSONObject config)
protected String getProcessDefinitionKey(JSONObject config)
protected String getBy(JSONObject config)
protected boolean getIncludeProcessInstances(JSONObject config)
protected abstract AbstractSetProcessDefinitionStateCmd getCommand(String configuration)
Copyright © 2018. All rights reserved.