org.jbpm.command
Class CancelTokenCommand

java.lang.Object
  extended by org.jbpm.command.AbstractBaseCommand
      extended by org.jbpm.command.AbstractCancelCommand
          extended by org.jbpm.command.CancelTokenCommand
All Implemented Interfaces:
java.io.Serializable, Command

public class CancelTokenCommand
extends AbstractCancelCommand

Cancel a Token

Author:
Bernd Ruecker (bernd.ruecker@camunda.com)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jbpm.command.AbstractCancelCommand
CANCELLATION_INDICATOR_VARIABLE_NAME, jbpmContext, log
 
Constructor Summary
CancelTokenCommand()
           
CancelTokenCommand(long tokenId)
           
 
Method Summary
 java.lang.Object execute(JbpmContext jbpmContext)
           
 java.lang.String getAdditionalToStringInformation()
           
 long getTokenId()
           
 void setTokenId(long tokenId)
           
 CancelTokenCommand tokenId(long tokenId)
           
 
Methods inherited from class org.jbpm.command.AbstractCancelCommand
cancelTasks, cancelToken, cancelTokens, getTasksForToken
 
Methods inherited from class org.jbpm.command.AbstractBaseCommand
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CancelTokenCommand

public CancelTokenCommand()

CancelTokenCommand

public CancelTokenCommand(long tokenId)
Method Detail

execute

public java.lang.Object execute(JbpmContext jbpmContext)
                         throws java.lang.Exception
Throws:
java.lang.Exception

getTokenId

public long getTokenId()

setTokenId

public void setTokenId(long tokenId)

getAdditionalToStringInformation

public java.lang.String getAdditionalToStringInformation()
Overrides:
getAdditionalToStringInformation in class AbstractBaseCommand

tokenId

public CancelTokenCommand tokenId(long tokenId)


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