stella.error
Class GoodWeatherFinalizer

java.lang.Object
  extended by util.PropertyContainer
      extended by util.PropertyResources
          extended by util.PropertyBundles
              extended by stella.AbstractErrorFinalizer
                  extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class util.PropertyResources
PropertyResources.URLResource
 
Field Summary
 
Fields inherited from class util.PropertyBundles
KEY_LOCALECOUNTRY, KEY_LOCALELANGUAGE, KEY_RESOURCEBUNDLES
 
Fields inherited from class util.PropertyResources
KEY_NOINITONCREATE, localurl, locate, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_URL, urlset
 
Fields inherited from class util.PropertyContainer
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATOR
 
Fields inherited from interface util.PropertySupplying
CONFIG, KEY_CLASS
 
Fields inherited from interface util.ResourceSupplying
KEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME
 
Constructor Summary
GoodWeatherFinalizer(Map prop)
          Constructs a new resend-command finalizer with certain properties.
 
Method Summary
 boolean finalizeError(TargetDefinition ignore, ErrorEvent occur, CommandLaunching[] servers, Sequencing dummy, ParameterClustering set)
          Handles a protocol error.
 String getFollowUp()
          Returns the follow-up this finalizer deals with.
 boolean isFinalizing()
          This error finalizer is threadless, so it's finalizeError(stella.TargetDefinition, stella.ErrorEvent, stella.CommandLaunching[], stella.Sequencing, stella.ParameterClustering) method is blocking.
 
Methods inherited from class stella.AbstractErrorFinalizer
createErrorFinalizer, isAborting, setMonitor, wake
 
Methods inherited from class util.PropertyBundles
clone, getLocalized, getLocalized, getLocalizedString, getLocalizedString, loadResource
 
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 class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface stella.ErrorFinalizing
isAborting, setMonitor
 
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
 
Methods inherited from interface util.ResourceSupplying
getResource, getResourceAsStream, getResources
 
Methods inherited from interface util.Initializable
init
 

Constructor Detail

GoodWeatherFinalizer

public GoodWeatherFinalizer(Map prop)
Constructs a new resend-command finalizer with certain properties.

Method Detail

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