org.jbpm.command
Class BatchSignalCommand

java.lang.Object
  extended by org.jbpm.command.AbstractTokenBaseCommand
      extended by org.jbpm.command.BatchSignalCommand
All Implemented Interfaces:
Serializable, Command

public class BatchSignalCommand
extends AbstractTokenBaseCommand

a bunch of processes is signaled with this command. you can specify the tokens either

  • by a array of token ids
  • or by processName, processVersion (optional, without all versions), stateName transitionName specifies the transition to take (if null, the default transition is taken).

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

    Field Summary
     
    Fields inherited from class org.jbpm.command.AbstractTokenBaseCommand
    log
     
    Constructor Summary
    BatchSignalCommand()
               
     
    Method Summary
     Object execute(Token token)
               
     String getAdditionalToStringInformation()
               
     Date getInStateAtLeastSince()
               
     String getTransitionName()
               
     BatchSignalCommand inStateAtLeastSince(Date inStateAtLeastSince)
               
     void setInStateAtLeastSince(Date inStateAtLeastSince)
               
     void setTransitionName(String transitionName)
               
     BatchSignalCommand transitionName(String transitionName)
               
     
    Methods inherited from class org.jbpm.command.AbstractTokenBaseCommand
    execute, getJbpmContext, getProcessName, getProcessVersion, getStateName, getTokenId, getTokenIds, processName, processVersion, setProcessName, setProcessVersion, setStateName, setTokenId, setTokenIds, stateName, tokenId, tokenIds, toString
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
     

    Constructor Detail

    BatchSignalCommand

    public BatchSignalCommand()
    Method Detail

    execute

    public Object execute(Token token)
    Specified by:
    execute in class AbstractTokenBaseCommand

    getTransitionName

    public String getTransitionName()

    setTransitionName

    public void setTransitionName(String transitionName)

    getInStateAtLeastSince

    public Date getInStateAtLeastSince()

    setInStateAtLeastSince

    public void setInStateAtLeastSince(Date inStateAtLeastSince)

    getAdditionalToStringInformation

    public String getAdditionalToStringInformation()
    Overrides:
    getAdditionalToStringInformation in class AbstractTokenBaseCommand

    transitionName

    public BatchSignalCommand transitionName(String transitionName)

    inStateAtLeastSince

    public BatchSignalCommand inStateAtLeastSince(Date inStateAtLeastSince)


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