Package adams.flow.source
Class SequenceSource.SequenceSourceDirector
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.flow.control.AbstractDirector
-
- adams.flow.control.SequentialDirector
-
- adams.flow.source.SequenceSource.SequenceSourceDirector
-
- All Implemented Interfaces:
CleanUpHandler
,LoggingSupporter
,SizeOfHandler
,Stoppable
,StoppableWithFeedback
,FlowPauseStateListener
,Serializable
- Enclosing class:
- SequenceSource
public static class SequenceSource.SequenceSourceDirector extends SequentialDirector
A specialized director for the SequenceSource actor.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.flow.control.SequentialDirector
m_Executed, m_FinalOutput, m_Finished
-
Fields inherited from class adams.flow.control.AbstractDirector
m_ControlActor, m_Flushing, m_LoggingPrefix, m_Paused, m_Stopped, m_Stopping
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description SequenceSourceDirector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
doExecuteActors(Actor startActor)
Peforms the execution of the actors.protected boolean
isFinalOutputRecorded()
Returns whether the final output of actors is recorded.void
setControlActor(AbstractDirectedControlActor value)
Sets the group to execute.-
Methods inherited from class adams.flow.control.SequentialDirector
activeIndices, activeIndices, checkActorHasStopped, cleanUp, doExecute, doExecuteStandalones, doHasOutput, doInput, doOutput, execute, flushExecution, getFinalOutput, handleError, handleException, initialize, isFinished, stopExecution
-
Methods inherited from class adams.flow.control.AbstractDirector
configureLogger, flowPauseStateChanged, getControlActor, getVariables, handleException, hasControlActor, isFlushing, isPaused, isStopped, isStopping, pause, pauseExecution, setControlActor, setLoggingLevel, toString, updatePrefix
-
Methods inherited from class adams.core.logging.LoggingObject
getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
setControlActor
public void setControlActor(AbstractDirectedControlActor value)
Sets the group to execute.- Parameters:
value
- the group
-
isFinalOutputRecorded
protected boolean isFinalOutputRecorded()
Returns whether the final output of actors is recorded.- Overrides:
isFinalOutputRecorded
in classSequentialDirector
- Returns:
- true
-
doExecuteActors
protected String doExecuteActors(Actor startActor)
Peforms the execution of the actors.- Overrides:
doExecuteActors
in classSequentialDirector
- Parameters:
startActor
- the actor to start with- Returns:
- null if everything ok, otherwise the error message
-
-