public interface ErrorFinalizing extends PropertySupplying
ErrorEvents. For each follow-up one error finalizer should be
present. Errors that can be handled in a similar way may refer to the same
class, but with different properties.
Instances of this class are used in the MasterErrorHandler to
distribute incoming errors.
CONFIG, KEY_CLASS| Modifier and Type | Method and Description |
|---|---|
boolean |
finalizeError(TargetDefinition executing,
ErrorEvent occured,
CommandLaunching[] launch,
Sequencing<?> seq,
ParameterClustering set)
Finalizes the error.
|
String |
getFollowUp()
Gets the follow-up this error finalizer can deal with.
|
boolean |
isAborting()
Returns true, if this finalizer is currently aborting a target.
|
boolean |
isFinalizing()
Returns true, if this finalizer is currently finalizing an error.
|
void |
setMonitor(Object monitor)
Sets a monitor object.
|
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, stringPropertiesString getFollowUp()
ErrorEvent follow-ups.boolean finalizeError(TargetDefinition executing, ErrorEvent occured, CommandLaunching[] launch, Sequencing<?> seq, ParameterClustering set)
boolean isFinalizing()
boolean isAborting()
void setMonitor(Object monitor)