public abstract class TimerChangeJobDefinitionSuspensionStateJobHandler extends Object implements JobHandler
Modifier and Type | Field and Description |
---|---|
protected static String |
JOB_HANDLER_CFG_BY |
protected static String |
JOB_HANDLER_CFG_INCLUDE_JOBS |
protected static String |
JOB_HANDLER_CFG_JOB_DEFINITION_ID |
protected static String |
JOB_HANDLER_CFG_PROCESS_DEFINITION_ID |
protected static String |
JOB_HANDLER_CFG_PROCESS_DEFINITION_KEY |
Constructor and Description |
---|
TimerChangeJobDefinitionSuspensionStateJobHandler() |
Modifier and Type | Method and Description |
---|---|
static String |
createJobHandlerConfigurationByJobDefinitionId(String jobDefinitionId,
boolean includeJobs) |
static String |
createJobHandlerConfigurationByProcessDefinitionId(String processDefinitionId,
boolean includeJobs) |
static String |
createJobHandlerConfigurationByProcessDefinitionKey(String processDefinitionKey,
boolean includeJobs) |
void |
execute(String configuration,
ExecutionEntity execution,
CommandContext commandContext) |
protected String |
getBy(JSONObject configuration) |
protected abstract AbstractSetJobDefinitionStateCmd |
getCommand(String configuration) |
protected boolean |
getIncludeJobs(JSONObject configuration) |
protected String |
getJobDefinitionId(JSONObject configuration) |
protected String |
getProcessDefinitionId(JSONObject configuration) |
protected String |
getProcessDefinitionKey(JSONObject configuration) |
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_JOB_DEFINITION_ID
protected static final String JOB_HANDLER_CFG_PROCESS_DEFINITION_ID
protected static final String JOB_HANDLER_CFG_PROCESS_DEFINITION_KEY
protected static final String JOB_HANDLER_CFG_INCLUDE_JOBS
public TimerChangeJobDefinitionSuspensionStateJobHandler()
public static String createJobHandlerConfigurationByJobDefinitionId(String jobDefinitionId, boolean includeJobs)
public static String createJobHandlerConfigurationByProcessDefinitionId(String processDefinitionId, boolean includeJobs)
public static String createJobHandlerConfigurationByProcessDefinitionKey(String processDefinitionKey, boolean includeJobs)
public void execute(String configuration, ExecutionEntity execution, CommandContext commandContext)
execute
in interface JobHandler
protected String getJobDefinitionId(JSONObject configuration)
protected String getProcessDefinitionId(JSONObject configuration)
protected String getProcessDefinitionKey(JSONObject configuration)
protected boolean getIncludeJobs(JSONObject configuration)
protected String getBy(JSONObject configuration)
protected abstract AbstractSetJobDefinitionStateCmd getCommand(String configuration)
Copyright © 2018. All rights reserved.