stella.error
Class GoodWeatherFinalizer
java.lang.Object
util.PropertyContainer
util.PropertyResources
util.PropertyBundles
stella.AbstractErrorFinalizer
stella.error.GoodWeatherFinalizer
- All Implemented Interfaces:
- Cloneable, ErrorFinalizing, Initializable, LocalizedSupplying, PropertySupplying, ResourceSupplying
public class GoodWeatherFinalizer
- extends AbstractErrorFinalizer
- implements ErrorFinalizing
Handles the ErrorEvent.RESEND_COMMAND follow-up.
|
Constructor Summary |
GoodWeatherFinalizer(Map prop)
Constructs a new resend-command finalizer with certain properties. |
| Methods inherited from class util.PropertyResources |
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, init, keyCreate, keyCreate, reload, setApplet |
| Methods inherited from class util.PropertyContainer |
augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, reload, removeProperty, rescanned, setObject, setProperties, setProperty, stringProperties, toString |
| Methods inherited from interface util.PropertySupplying |
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, stringProperties |
GoodWeatherFinalizer
public GoodWeatherFinalizer(Map prop)
- Constructs a new resend-command finalizer with certain properties.
getFollowUp
public String getFollowUp()
- Returns the follow-up this finalizer deals with.
- Specified by:
getFollowUp in interface ErrorFinalizing
finalizeError
public boolean finalizeError(TargetDefinition ignore,
ErrorEvent occur,
CommandLaunching[] servers,
Sequencing dummy,
ParameterClustering set)
- Handles a protocol error. The
CommandLaunching instance that
generated the error is simply asked to resend the entire command.
- Specified by:
finalizeError in interface ErrorFinalizing
isFinalizing
public boolean isFinalizing()
- This error finalizer is threadless, so it's
finalizeError(stella.TargetDefinition, stella.ErrorEvent, stella.CommandLaunching[], stella.Sequencing, stella.ParameterClustering)
method
is blocking. This method always returns false.
- Specified by:
isFinalizing in interface ErrorFinalizing