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

java.lang.Object
  extended byorg.globus.cog.karajan.workflow.nodes.FlowNode
      extended byorg.globus.cog.karajan.workflow.nodes.FlowContainer
          extended byorg.globus.cog.karajan.workflow.nodes.Sequential
              extended byorg.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
                  extended byorg.globus.cog.karajan.workflow.nodes.PartialArgumentsContainer
                      extended byorg.globus.cog.karajan.workflow.nodes.AbstractIterator
All Implemented Interfaces:
EventListener, ExtendedFlowElement, FlowElement, LoadListener
Direct Known Subclasses:
AbstractParallelIterator, AbstractSequentialIterator, AbstractUParallelIterator

public abstract class AbstractIterator
extends PartialArgumentsContainer


Nested Class Summary
 
Nested classes inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
FlowNode.FNTP
 
Field Summary
static String CHILD_FAILED
           
static String INDEX
           
static int ITERATE
           
static String ITERATOR
           
static String RUNNING
           
static String VAR
           
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
commonArguments, QUOTED
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.FlowContainer
CALLER
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
debug, startCount, TEXT, threadTracker
 
Constructor Summary
AbstractIterator()
           
 
Method Summary
protected  KarajanIterator getIterator(VariableStack stack)
           
abstract  void iterate(VariableStack stack, Identifier var, KarajanIterator i)
           
 void iterate(VariableStack stack, KarajanIterator i)
           
 void notificationEvent(NotificationEvent e)
           
protected  void partialArgumentsEvaluated(VariableStack stack)
           
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.PartialArgumentsContainer
childCompleted, executeChildren, executeSingle, getArgCount, initializeStatic, startRest
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
argumentsEvaluated, checkArguments, getArgument, getArgument, getArgumentCount, getArgumentIndex, getArgumentNames, getArguments, getMaxArgIndex, getNonpropargs, getPropargs, getQuotedArgs, getSortedArgs, getVargs, getVargsAsArray, hasArgument, hasNestedArguments, hasVariableArguments, initializeArgs, newNameBindingVariableArguments, newVariableArguments, pre, processArguments, setArguments, setArguments, setHasVargs, setNestedArgs, setNonpropargs, setQuotedArgs, setVargs
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.Sequential
exit, moreToExecute, startNext
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowContainer
addChannel, execute, isOptimizable, post, setOptimize
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
abort, acceptsInlineText, addElement, checkClass, checkCompleted, checkFailed, complete, controlEvent, copy, echo, echo, elementCount, elements, end, event, executeErrorHandler, executeSimple, expandProperty, expandProperty, expandPropertyAsString, fail, fail, failIfNotDefined, failIfNull, failIfNull, failImmediately, failImmediately, failImmediately, fireControlEvent, fireMonitoringEvent, fireNotificationEvent, fireStatusMonitoringEvent, get_locator, getBooleanProperty, getBooleanProperty, getCanonicalType, getElement, getElementType, getIntProperty, getIntProperty, getParent, getProjectNode, getProperty, getStringProperty, getTreeProperty, getVar, hasFrame, hashCode, hasProperty, isCheckpointable, isSimple, isSystemProperty, loadComplete, loadStarted, monitoringEvent, propertyNames, removeProperty, restart, restartElement, ret, ret, set_locator, setAcceptsInlineText, setCheckpointable, setElementType, setFrame, setParent, setProperty, setProperty, setProperty, start, startElement, startElement, toString, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CHILD_FAILED

public static final String CHILD_FAILED
See Also:
Constant Field Values

INDEX

public static final String INDEX
See Also:
Constant Field Values

ITERATOR

public static final String ITERATOR
See Also:
Constant Field Values

VAR

public static final String VAR
See Also:
Constant Field Values

RUNNING

public static final String RUNNING
See Also:
Constant Field Values

ITERATE

public static final int ITERATE
See Also:
Constant Field Values
Constructor Detail

AbstractIterator

public AbstractIterator()
Method Detail

partialArgumentsEvaluated

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

getIterator

protected KarajanIterator getIterator(VariableStack stack)
                               throws ExecutionException
Throws:
ExecutionException

iterate

public void iterate(VariableStack stack,
                    KarajanIterator i)
             throws ExecutionException
Throws:
ExecutionException

iterate

public abstract void iterate(VariableStack stack,
                             Identifier var,
                             KarajanIterator i)
                      throws ExecutionException
Throws:
ExecutionException

notificationEvent

public void notificationEvent(NotificationEvent e)
                       throws ExecutionException
Overrides:
notificationEvent in class PartialArgumentsContainer
Throws:
ExecutionException