org.camunda.bpm.engine.impl.cmd
Class SuspendJobDefinitionCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
      extended by org.camunda.bpm.engine.impl.cmd.AbstractSetJobDefinitionStateCmd
          extended by org.camunda.bpm.engine.impl.cmd.SuspendJobDefinitionCmd
All Implemented Interfaces:
Command<Void>

public class SuspendJobDefinitionCmd
extends AbstractSetJobDefinitionStateCmd

Author:
roman.smirnov

Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetJobDefinitionStateCmd
executionDate, isProcessDefinitionTenantIdSet, jobDefinitionId, processDefinitionId, processDefinitionKey, processDefinitionTenantId
 
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
includeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY
 
Constructor Summary
SuspendJobDefinitionCmd(UpdateJobDefinitionSuspensionStateBuilderImpl builder)
           
 
Method Summary
protected  String getDelayedExecutionJobHandlerType()
          Subclasses should return the type of the JobHandler here.
protected  String getLogEntryOperation()
           
protected  SuspensionState getNewSuspensionState()
           
protected  SuspendJobCmd getNextCommand(UpdateJobSuspensionStateBuilderImpl jobCommandBuilder)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetJobDefinitionStateCmd
checkAuthorization, checkParameters, createJobCommandBuilder, getJobHandlerConfiguration, getNextCommand, logUserOperation, updateSuspensionState
 
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
disableLogUserOperation, execute, isIncludeSubResources, isLogUserOperationDisabled, scheduleSuspensionStateUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuspendJobDefinitionCmd

public SuspendJobDefinitionCmd(UpdateJobDefinitionSuspensionStateBuilderImpl builder)
Method Detail

getNewSuspensionState

protected SuspensionState getNewSuspensionState()
Specified by:
getNewSuspensionState in class AbstractSetStateCmd

getDelayedExecutionJobHandlerType

protected String getDelayedExecutionJobHandlerType()
Description copied from class: AbstractSetJobDefinitionStateCmd
Subclasses should return the type of the JobHandler here. it will be used when the user provides an execution date on which the actual state change will happen.

Specified by:
getDelayedExecutionJobHandlerType in class AbstractSetJobDefinitionStateCmd

getNextCommand

protected SuspendJobCmd getNextCommand(UpdateJobSuspensionStateBuilderImpl jobCommandBuilder)
Specified by:
getNextCommand in class AbstractSetJobDefinitionStateCmd

getLogEntryOperation

protected String getLogEntryOperation()
Specified by:
getLogEntryOperation in class AbstractSetStateCmd


Copyright © 2016 camunda services GmbH. All rights reserved.