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

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.AbstractSetJobStateCmd
All Implemented Interfaces:
Command<Void>
Direct Known Subclasses:
ActivateJobCmd, SuspendJobCmd

public abstract class AbstractSetJobStateCmd
extends Object
implements Command<Void>

Author:
roman.smirnov

Field Summary
protected  String jobDefinitionId
           
protected  String jobId
           
protected  String processDefinitionId
           
protected  String processDefinitionKey
           
protected  String processInstanceId
           
 
Constructor Summary
AbstractSetJobStateCmd(String jobId, String jobDefinitionId, String processInstanceId, String processDefinitionId, String processDefinitionKey)
           
 
Method Summary
 Void execute(CommandContext commandContext)
           
protected abstract  SuspensionState getSuspensionState()
          Subclasses should return the wanted SuspensionState here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jobId

protected String jobId

jobDefinitionId

protected String jobDefinitionId

processInstanceId

protected String processInstanceId

processDefinitionId

protected String processDefinitionId

processDefinitionKey

protected String processDefinitionKey
Constructor Detail

AbstractSetJobStateCmd

public AbstractSetJobStateCmd(String jobId,
                              String jobDefinitionId,
                              String processInstanceId,
                              String processDefinitionId,
                              String processDefinitionKey)
Method Detail

execute

public Void execute(CommandContext commandContext)
Specified by:
execute in interface Command<Void>

getSuspensionState

protected abstract SuspensionState getSuspensionState()
Subclasses should return the wanted SuspensionState here.



Copyright © 2014 camunda services GmbH. All rights reserved.