public interface Sequencing<E> extends CancelRunnable, PropertySupplying, ReplySubscriber, GlobalDepending
CONFIG, KEY_CLASS| Modifier and Type | Method and Description |
|---|---|
void |
abort(List<E> dom)
Aborts the sequence and replaces the unfinished steps with an
alternative sequence while running.
|
void |
append(List<E> dom)
Adds the sequencer steps found in the specified file, noramlly a
DOMSequence DOM, while running. |
List<E> |
getStepsForTarget(TargetDefinition target)
Converts a target into a list of sequence steps.
|
boolean |
isCancel()
Returns true if the sequencer was canceled from the outside.
|
void |
load(List<E> dom)
Loads a sequencing list.
|
void |
prepend(List<E> dom)
Adds the sequencer steps found in the argument to the start of
the remaining sequence.
|
void |
registerLauncher(CommandLaunching[] launch)
Registers the
CommandLaunching instances used by this
Sequencing
implementation for connecting to command servers. |
void |
registerRender(CommandRendering chef)
Registers the master mind controler to this Sequencing implementation
for lookback-calls.
|
Thread |
start()
Starts a sequencer after a sequence has been loaded.
|
cancel, getAsociatedThread, maxTimeToCanceldefaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringPropertiesforwardregisterGlobalsList<E> getStepsForTarget(TargetDefinition target)
TargetDefinition.getType()
method. The sequencer must know how this property is converted into
a list of sequencing steps. A XMLSequencer
uses xml-files for this purpose.void load(List<E> dom)
DOMSequence DOM xml-file. This method must
be called prior to the thread's start method otherwise an
IllegalThreadStateException is thrown.void abort(List<E> dom)
DOMSequence DOM.void append(List<E> dom)
DOMSequence DOM, while running.void prepend(List<E> dom)
void registerRender(CommandRendering chef)
void registerLauncher(CommandLaunching[] launch)
CommandLaunching instances used by this
Sequencing
implementation for connecting to command servers. This method must
be called prior to the thread's start method otherwise an
IllegalThreadStateException is thrown.Thread start()
boolean isCancel()