public interface ErrorHandling extends PropertySupplying, ErrorListener, ClusterDepending
registerSequencer(stella.Sequencing).
To pipe error or status messages to the parameter cluster, the parameter
cluster must
be registered to the error caster as well, see
#registerCluster. Any error that affect target selection in
the scheduler are either transported in the parameter cluster or, if they
directly interfere with the target, registered in the
Appointable.isAbort(globals.GlobalGrouping) method.
For correct error chaining of multiple targets, the master mind should
always
signal new targets picked to the error handler, see startTarget(stella.Handable) and
endTarget(stella.Handable).CONFIG, KEY_CLASS| Modifier and Type | Method and Description |
|---|---|
boolean |
doAbort()
Returns true, if target should be aborted.
|
void |
endTarget(Handable end)
Signals that a target has finished.
|
void |
registerLauncher(CommandLaunching[] launch)
Registers the command launching interfaces to the error handler.
|
void |
registerMonitor(Object sleeper)
Registers a monitor to the error handler.
|
void |
registerSequencer(Sequencing sequencer)
Registers the sequencer to the error handler.
|
void |
registerWeather(WeatherSurveying weather)
Registers a local weather station constructed within the
MasterMind to the error handler. |
void |
setEnabled(boolean accept)
Sets the enabled flag.
|
void |
startTarget(Handable start)
Signals that a new target has been picked.
|
defaultBoolean, 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, stringPropertieserrorOccuredregisterGlobalsvoid registerLauncher(CommandLaunching[] launch)
void registerSequencer(Sequencing sequencer)
void registerWeather(WeatherSurveying weather)
MasterMind to the error handler. Normal error handler will
use their remote weather-listening capabilities to listen to weather
changes.void setEnabled(boolean accept)
void registerMonitor(Object sleeper)
ErrorFinalizing instances that need to awaken a sleeping
object.boolean doAbort()
void startTarget(Handable start)
endTarget(stella.Handable) method is invoked.void endTarget(Handable end)
ErrorListener capabilities of the
error handler. Once a target has been ended, it is removed from the
handlers current list and errors occuring later may no longer affect
the
target.