jade.core.behaviours
Class Behaviour.RunnableChangedEvent

java.lang.Object
  |
  +--jade.core.behaviours.Behaviour.RunnableChangedEvent
Enclosing class:
Behaviour

protected class Behaviour.RunnableChangedEvent
extends java.lang.Object
implements Serializable

Event class for notifying blocked and restarted behaviours. This class is used to notify interested behaviours when a Behaviour changes its runnable state. It may be sent to behaviour's parent (upward notification or to behaviour's children (downward notification).

See Also:
Serialized Form

Constructor Summary
protected Behaviour.RunnableChangedEvent()
           
 
Method Summary
 boolean isRunnable()
          Check whether the event is runnable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Behaviour.RunnableChangedEvent

protected Behaviour.RunnableChangedEvent()
Method Detail

isRunnable

public boolean isRunnable()
Check whether the event is runnable.
Returns:
true when the behaviour generating this event has become Ready, false when it has become Blocked.