org.jbpm.command
Class SignalCommand

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

public class SignalCommand
extends AbstractBaseCommand

Signals a token. After signalling the token is returned

Author:
??, Bernd Ruecker
See Also:
Serialized Form

Constructor Summary
SignalCommand()
           
SignalCommand(long tokenId, java.lang.String transitionName)
           
 
Method Summary
 java.lang.Object execute(JbpmContext jbpmContext)
           
 SignalCommand expectedStateName(java.lang.String expectedStateName)
           
 java.lang.String getAdditionalToStringInformation()
           
 java.lang.String getExpectedStateName()
           
protected  Token getToken(JbpmContext jbpmContext)
           
 long getTokenId()
           
 java.lang.String getTransitionName()
           
 java.util.Map getVariables()
           
 void setExpectedStateName(java.lang.String expectedStateName)
           
 void setTokenId(long tokenId)
           
 void setTransitionName(java.lang.String transitionName)
           
 void setVariables(java.util.Map variables)
           
 SignalCommand tokenId(long tokenId)
           
 SignalCommand transitionName(java.lang.String transitionName)
           
 SignalCommand variables(java.util.Map variables)
           
 
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

SignalCommand

public SignalCommand()

SignalCommand

public SignalCommand(long tokenId,
                     java.lang.String transitionName)
Method Detail

execute

public java.lang.Object execute(JbpmContext jbpmContext)

getToken

protected Token getToken(JbpmContext jbpmContext)

getTokenId

public long getTokenId()

setTokenId

public void setTokenId(long tokenId)

getTransitionName

public java.lang.String getTransitionName()

setTransitionName

public void setTransitionName(java.lang.String transitionName)

getVariables

public java.util.Map getVariables()

setVariables

public void setVariables(java.util.Map variables)

getExpectedStateName

public java.lang.String getExpectedStateName()

setExpectedStateName

public void setExpectedStateName(java.lang.String expectedStateName)

getAdditionalToStringInformation

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

tokenId

public SignalCommand tokenId(long tokenId)

transitionName

public SignalCommand transitionName(java.lang.String transitionName)

variables

public SignalCommand variables(java.util.Map variables)

expectedStateName

public SignalCommand expectedStateName(java.lang.String expectedStateName)


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