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

java.lang.Object
  extended by org.globus.cog.karajan.workflow.nodes.FlowNode
      extended by org.globus.cog.karajan.workflow.nodes.FlowContainer
All Implemented Interfaces:
LoadListener, EventListener, ExtendedFlowElement, FlowElement
Direct Known Subclasses:
Parallel, Sequential

public abstract class FlowContainer
extends FlowNode


Nested Class Summary
 
Nested classes/interfaces inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
FlowNode.FNTP
 
Field Summary
 
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
FlowContainer()
           
 
Method Summary
 void execute(VariableStack stack)
           
protected abstract  void executeChildren(VariableStack stack)
           
protected  boolean getChildFailed(VariableStack stack)
           
protected  void initializeStatic()
           
protected  boolean isOptimizable()
           
protected  void post(VariableStack stack)
           
protected  void pre(VariableStack stack)
           
protected  void setChildFailed(VariableStack stack, boolean value)
           
 void setOptimize(boolean optimize)
           
 
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, notificationEvent, propertyNames, removeElement, removeElement, removeProperty, replaceElement, restart, restartElement, ret, set_locator, setAcceptsInlineText, setCheckpointable, setElements, setElementType, setFrame, setParent, setProperties, setProperty, setProperty, setProperty, setStaticArguments, start, startElement, startElement, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FlowContainer

public FlowContainer()
Method Detail

initializeStatic

protected void initializeStatic()
Overrides:
initializeStatic in class FlowNode

isOptimizable

protected boolean isOptimizable()

pre

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

post

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

execute

public final void execute(VariableStack stack)
                   throws ExecutionException
Overrides:
execute in class FlowNode
Throws:
ExecutionException

executeChildren

protected abstract void executeChildren(VariableStack stack)
                                 throws ExecutionException
Throws:
ExecutionException

setOptimize

public void setOptimize(boolean optimize)

setChildFailed

protected final void setChildFailed(VariableStack stack,
                                    boolean value)

getChildFailed

protected final boolean getChildFailed(VariableStack stack)