Package adams.event
Class FlowSetupStateEvent
- java.lang.Object
-
- java.util.EventObject
-
- adams.event.FlowSetupStateEvent
-
- All Implemented Interfaces:
Serializable
public class FlowSetupStateEvent extends EventObject
Event that gets sent by a FlowSetup 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FlowSetupStateEvent.Type
The type of event.
-
Field Summary
Fields Modifier and Type Field Description protected FlowSetupStateEvent.Type
m_Type
the type of event.-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description FlowSetupStateEvent(FlowSetup source, FlowSetupStateEvent.Type type)
Initializes the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowSetup
getFlowSetup()
Returns the setup that triggered the event.FlowSetupStateEvent.Type
getType()
Returns the type of event.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Field Detail
-
m_Type
protected FlowSetupStateEvent.Type m_Type
the type of event.
-
-
Constructor Detail
-
FlowSetupStateEvent
public FlowSetupStateEvent(FlowSetup source, FlowSetupStateEvent.Type type)
Initializes the event.- Parameters:
source
- the setup that triggered the eventtype
- the type of event
-
-
Method Detail
-
getFlowSetup
public FlowSetup getFlowSetup()
Returns the setup that triggered the event.- Returns:
- the setup
-
getType
public FlowSetupStateEvent.Type getType()
Returns the type of event.- Returns:
- the type
-
-