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

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

public class Include
extends AbstractSequentialWithArguments
implements LoadListener


Nested Class Summary
 
Nested classes/interfaces inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
FlowNode.FNTP
 
Field Summary
static Arg A_EXPORT
           
static Arg A_FILE
           
static String EXPORT
           
static String INCLUDED
           
static org.apache.log4j.Logger logger
           
static String VTRUSTED
           
 
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
Include()
           
 
Method Summary
protected  void checkArgs(VariableStack stack)
           
protected  void defineElements(VariableStack stack)
           
 void includeFile(String iname, VariableStack stack)
           
 void loadStarted()
           
 void post(VariableStack stack)
           
 void pre(VariableStack stack)
           
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
addChannel, argumentsEvaluated, checkArguments, childCompleted, getArgument, getArgumentCount, getArgumentIndex, getArgumentNames, getArguments, getChannels, getMaxArgIndex, getNonpropargs, getOptionalArgs, getQuotedArgs, getSortedArgs, hasChannels, hasNestedArguments, hasVariableArguments, initializeArgs, initializeStatic, newNameBindingVariableArguments, newVariableArguments, processArguments, setArguments, setHasVargs, setNestedArgs, setNonpropargs, setQuotedArgs, setVargs
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.Sequential
executeChildren, executeSingle, 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
_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, 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
 
Methods inherited from interface org.globus.cog.karajan.util.LoadListener
loadComplete
 

Field Detail

logger

public static final org.apache.log4j.Logger logger

A_FILE

public static final Arg A_FILE

A_EXPORT

public static final Arg A_EXPORT

VTRUSTED

public static final String VTRUSTED
See Also:
Constant Field Values

EXPORT

public static final String EXPORT
See Also:
Constant Field Values

INCLUDED

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

Include

public Include()
Method Detail

pre

public void pre(VariableStack stack)
         throws ExecutionException
Overrides:
pre in class AbstractSequentialWithArguments
Throws:
ExecutionException

checkArgs

protected void checkArgs(VariableStack stack)
                  throws ExecutionException
Throws:
ExecutionException

post

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

defineElements

protected void defineElements(VariableStack stack)
                       throws ExecutionException
Throws:
ExecutionException

includeFile

public void includeFile(String iname,
                        VariableStack stack)
                 throws ExecutionException
Throws:
ExecutionException

loadStarted

public void loadStarted()
Specified by:
loadStarted in interface LoadListener
Overrides:
loadStarted in class FlowNode