org.globus.cog.karajan.workflow.nodes.restartLog
Class RestartLog

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.restartLog.RestartLog
All Implemented Interfaces:
LoadListener, EventListener, ExtendedFlowElement, FlowElement

public class RestartLog
extends PartialArgumentsContainer


Nested Class Summary
 
Nested classes/interfaces inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
FlowNode.FNTP
 
Field Summary
static Arg A_NAME
           
static Arg A_RESUME
           
static Arg.Channel LOG_CHANNEL
           
static String LOG_DATA
           
static org.apache.log4j.Logger logger
           
static String RESUME
           
 
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
RestartLog()
           
 
Method Summary
protected  void _finally(VariableStack stack)
           
protected  void create(VariableStack stack, String name)
           
protected  void partialArgumentsEvaluated(VariableStack stack)
           
protected  void post(VariableStack stack)
           
protected  void resume(VariableStack stack, File log)
           
protected  void startRest(VariableStack stack, FlushableLockedFileWriter logffw)
           
 
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, notificationEvent, preDecIndex, preIncIndex, setIndex, startElement, startNext
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowContainer
execute, getChildFailed, isOptimizable, setChildFailed, setOptimize
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
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_RESUME

public static final Arg A_RESUME

A_NAME

public static final Arg A_NAME

LOG_CHANNEL

public static final Arg.Channel LOG_CHANNEL

LOG_DATA

public static final String LOG_DATA
See Also:
Constant Field Values

RESUME

public static final String RESUME
See Also:
Constant Field Values
Constructor Detail

RestartLog

public RestartLog()
Method Detail

partialArgumentsEvaluated

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

resume

protected void resume(VariableStack stack,
                      File log)
               throws ExecutionException
Throws:
ExecutionException

create

protected void create(VariableStack stack,
                      String name)
               throws ExecutionException
Throws:
ExecutionException

startRest

protected void startRest(VariableStack stack,
                         FlushableLockedFileWriter logffw)
                  throws ExecutionException
Throws:
ExecutionException

post

protected void post(VariableStack stack)
             throws ExecutionException
Overrides:
post in class FlowContainer
Throws:
ExecutionException

_finally

protected void _finally(VariableStack stack)
                 throws ExecutionException
Overrides:
_finally in class FlowNode
Throws:
ExecutionException