Package adams.event

Class FlowPauseStateEvent

  • All Implemented Interfaces:
    Serializable

    public class FlowPauseStateEvent
    extends EventObject
    Event that gets sent by a Flow when the execution of a flow has started, finished, etc.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • FlowPauseStateEvent

        public FlowPauseStateEvent​(Actor source,
                                   FlowPauseStateEvent.Type type)
        Initializes the event.
        Parameters:
        source - the actor that triggered the event
        type - the type of event
    • Method Detail

      • getActor

        public Actor getActor()
        Returns the actor that triggered the event.
        Returns:
        the actor
      • toString

        public String toString()
        Returns a string representation of the event.
        Overrides:
        toString in class EventObject
        Returns:
        the string representation