org.jbpm.command
Class AbstractCancelCommand

java.lang.Object
  extended by org.jbpm.command.AbstractBaseCommand
      extended by org.jbpm.command.AbstractCancelCommand
All Implemented Interfaces:
Serializable, Command
Direct Known Subclasses:
CancelProcessInstanceCommand, CancelTokenCommand

public abstract class AbstractCancelCommand
extends AbstractBaseCommand

See Also:
Serialized Form

Field Summary
static String CANCELLATION_INDICATOR_VARIABLE_NAME
          Name of a standardized process variable written during cancellation in order to indicate that this process has been 'canceled' and not just ended.
protected  JbpmContext jbpmContext
           
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
AbstractCancelCommand()
           
 
Method Summary
protected  void cancelTasks(List tasks)
           
protected  void cancelToken(Token token)
           
protected  void cancelTokens(Collection tokens)
           
protected  List getTasksForToken(Token token)
           
 
Methods inherited from class org.jbpm.command.AbstractBaseCommand
getAdditionalToStringInformation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jbpm.command.Command
execute
 

Field Detail

CANCELLATION_INDICATOR_VARIABLE_NAME

public static String CANCELLATION_INDICATOR_VARIABLE_NAME
Name of a standardized process variable written during cancellation in order to indicate that this process has been 'canceled' and not just ended. The variable value is the cancellation timestamp.


jbpmContext

protected transient JbpmContext jbpmContext

log

protected static final org.apache.commons.logging.Log log
Constructor Detail

AbstractCancelCommand

public AbstractCancelCommand()
Method Detail

cancelTokens

protected void cancelTokens(Collection tokens)

cancelToken

protected void cancelToken(Token token)

getTasksForToken

protected List getTasksForToken(Token token)

cancelTasks

protected void cancelTasks(List tasks)


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.