org.jactr.tools.async.message.command.state
Class RuntimeStateCommand

java.lang.Object
  extended by org.jactr.tools.async.message.BaseMessage
      extended by org.jactr.tools.async.message.command.state.RuntimeStateCommand
All Implemented Interfaces:
java.io.Serializable, ICommand, IRuntimeStateCommand, IStateCommand, IMessage

public class RuntimeStateCommand
extends BaseMessage
implements IRuntimeStateCommand, java.io.Serializable

Author:
developer
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jactr.tools.async.message.command.state.IStateCommand
IStateCommand.State
 
Constructor Summary
RuntimeStateCommand(boolean suspendImmediately)
          assumes State.START
RuntimeStateCommand(IStateCommand.State requestedState)
           
 
Method Summary
 IStateCommand.State getState()
           
 boolean shouldSuspendImmediately()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jactr.tools.async.message.BaseMessage
getID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jactr.tools.async.message.IMessage
getID
 

Constructor Detail

RuntimeStateCommand

public RuntimeStateCommand(boolean suspendImmediately)
assumes State.START

Parameters:
suspendImmediately -

RuntimeStateCommand

public RuntimeStateCommand(IStateCommand.State requestedState)
Method Detail

getState

public IStateCommand.State getState()
Specified by:
getState in interface IStateCommand
See Also:
IStateCommand.getState()

shouldSuspendImmediately

public boolean shouldSuspendImmediately()
Specified by:
shouldSuspendImmediately in interface IRuntimeStateCommand

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object