org.jbpm.command
Class GetTokenCommand

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

public class GetTokenCommand
extends AbstractGetObjectBaseCommand

Return the token with the specified tokenId

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

Constructor Summary
GetTokenCommand()
           
 
Method Summary
 java.lang.Object execute(JbpmContext jbpmContext)
           
 java.lang.String getAdditionalToStringInformation()
           
 long getTokenId()
           
 void setTokenId(long tokenId)
           
 GetTokenCommand tokenId(long tokenId)
           
 
Methods inherited from class org.jbpm.command.AbstractGetObjectBaseCommand
getJbpmContext, getVariablesToInclude, includeAllVariables, isIncludeAllVariables, retrieveNode, retrieveProcessDefinition, retrieveProcessInstance, retrieveTaskInstanceDetails, retrieveToken, retrieveVariables, retrieveVariables, setIncludeAllVariables, setJbpmContext, setVariablesToInclude, setVariablesToInclude, variablesToInclude, variablesToInclude
 
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

GetTokenCommand

public GetTokenCommand()
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 GetTokenCommand tokenId(long tokenId)


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