Package mgui.pipelines
Class StaticPipelineEvent
java.lang.Object
java.util.EventObject
mgui.pipelines.StaticPipelineEvent
- All Implemented Interfaces:
java.io.Serializable
public class StaticPipelineEvent
extends java.util.EventObject
Represents an static event on a pipeline; i.e., a change to its structure, etc.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
- See Also:
DynamicPipelineEvent
, Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StaticPipelineEvent.EventType
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
previous_value
protected int
task_index
protected StaticPipelineEvent.EventType
type
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
Constructors Constructor Description StaticPipelineEvent(PipelineTask source, int task_index, StaticPipelineEvent.EventType type)
StaticPipelineEvent(PipelineTask source, StaticPipelineEvent.EventType type)
StaticPipelineEvent(PipelineTask source, StaticPipelineEvent.EventType type, java.lang.Object previous_value)
-
Method Summary
Modifier and Type Method Description java.lang.Object
getPreviousValue()
PipelineTask
getTask()
int
getTaskIndex()
StaticPipelineEvent.EventType
getType()
Methods inherited from class java.util.EventObject
getSource, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
type
-
task_index
protected int task_index -
previous_value
protected java.lang.Object previous_value
-
-
Constructor Details
-
StaticPipelineEvent
-
StaticPipelineEvent
public StaticPipelineEvent(PipelineTask source, StaticPipelineEvent.EventType type, java.lang.Object previous_value) -
StaticPipelineEvent
public StaticPipelineEvent(PipelineTask source, int task_index, StaticPipelineEvent.EventType type)
-
-
Method Details
-
getType
-
getPreviousValue
public java.lang.Object getPreviousValue() -
getTask
-
getTaskIndex
public int getTaskIndex()
-