org.globus.cog.karajan.workflow.nodes
Class RestartOnErrorNode

java.lang.Object
  extended by org.globus.cog.karajan.workflow.nodes.FlowNode
      extended by org.globus.cog.karajan.workflow.nodes.FlowContainer
          extended by org.globus.cog.karajan.workflow.nodes.Sequential
              extended by org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
                  extended by org.globus.cog.karajan.workflow.nodes.PartialArgumentsContainer
                      extended by org.globus.cog.karajan.workflow.nodes.AbstractRegexpFailureHandler
                          extended by org.globus.cog.karajan.workflow.nodes.RestartOnErrorNode
All Implemented Interfaces:
LoadListener, EventListener, ExtendedFlowElement, FlowElement

public class RestartOnErrorNode
extends AbstractRegexpFailureHandler


Nested Class Summary
 
Nested classes/interfaces inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
FlowNode.FNTP
 
Field Summary
static Arg A_MATCH
           
static Arg A_TIMES
           
static org.apache.log4j.Logger logger
           
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
QUOTED
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
A_INLINE_TEXT, debug, startCount, STDERR, STDOUT, threadTracker
 
Fields inherited from interface org.globus.cog.karajan.workflow.nodes.FlowElement
ANNOTATION, CALLER, FILENAME, LINE, TEXT, UID
 
Constructor Summary
RestartOnErrorNode()
           
 
Method Summary
protected  boolean matches(VariableStack stack, FailureNotificationEvent e)
           
protected  void notificationEvent(NotificationEvent e)
           
protected  void partialArgumentsEvaluated(VariableStack stack)
           
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.AbstractRegexpFailureHandler
matches, matches, matches
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.PartialArgumentsContainer
childCompleted, executeChildren, executeSingle, getArgCount, getArgsDone, initializeStatic, nonArgChildCompleted, setArgsDone, startRest
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
addChannel, argumentsEvaluated, checkArguments, getArgument, getArgumentCount, getArgumentIndex, getArgumentNames, getArguments, getChannels, getMaxArgIndex, getNonpropargs, getOptionalArgs, getQuotedArgs, getSortedArgs, hasChannels, hasNestedArguments, hasVariableArguments, initializeArgs, newNameBindingVariableArguments, newVariableArguments, pre, processArguments, setArguments, setHasVargs, setNestedArgs, setNonpropargs, setQuotedArgs, setVargs
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.Sequential
exit, getIndex, moreToExecute, preDecIndex, preIncIndex, setIndex, startElement, startNext
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowContainer
execute, getChildFailed, isOptimizable, post, setChildFailed, setOptimize
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
_finally, abort, abortEvent, acceptsInlineText, addElement, addStaticArgument, checkClass, checkCompleted, checkFailed, complete, controlEvent, copy, echo, echo, elementCount, elements, event, executeErrorHandler, executeSimple, fail, fail, failIfNotDefined, failIfNull, failIfNull, failImmediately, failImmediately, failImmediately, failImmediately, fireControlEvent, fireMonitoringEvent, fireNotificationEvent, fireStatusMonitoringEvent, get_locator, getBooleanProperty, getBooleanProperty, getCanonicalType, getElement, getElementType, getIntProperty, getIntProperty, getParent, getProperty, getStaticArguments, getStringProperty, getTextualName, getTreeProperty, getUID, hasFrame, hasProperty, isCheckpointable, isSimple, isSystemProperty, loadComplete, loadStarted, monitoringEvent, propertyNames, removeElement, removeElement, removeProperty, replaceElement, restart, restartElement, ret, set_locator, setAcceptsInlineText, setCheckpointable, setElements, setElementType, setFrame, setParent, setProperties, setProperty, setProperty, setProperty, setStaticArguments, start, startElement, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

public static final org.apache.log4j.Logger logger

A_MATCH

public static final Arg A_MATCH

A_TIMES

public static final Arg A_TIMES
Constructor Detail

RestartOnErrorNode

public RestartOnErrorNode()
Method Detail

partialArgumentsEvaluated

protected void partialArgumentsEvaluated(VariableStack stack)
                                  throws ExecutionException
Overrides:
partialArgumentsEvaluated in class PartialArgumentsContainer
Throws:
ExecutionException

notificationEvent

protected void notificationEvent(NotificationEvent e)
                          throws ExecutionException
Overrides:
notificationEvent in class Sequential
Throws:
ExecutionException

matches

protected boolean matches(VariableStack stack,
                          FailureNotificationEvent e)