org.globus.cog.karajan.workflow.nodes.user
Class ExplicitExecutionUDE

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.user.UserDefinedElement
                      extended by org.globus.cog.karajan.workflow.nodes.user.ExplicitExecutionUDE
All Implemented Interfaces:
LoadListener, NonCacheable, EventListener, ExtendedFlowElement, FlowElement

public class ExplicitExecutionUDE
extends UserDefinedElement


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 org.apache.log4j.Logger logger
           
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.user.UserDefinedElement
A_ARGUMENTS, A_CHANNELS, A_NAMED, A_OPTARGS, A_VARGS, ARGUMENTS_THREAD, BODY_THREAD, FNARGS, KMODE, NO_ARGUMENTS, NO_CHANNELS, PREFIX, SKIP, START_BODY
 
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
ExplicitExecutionUDE()
           
 
Method Summary
protected  boolean checkFirstArg(VariableStack stack)
           
protected  Arguments getUDEArguments(VariableStack stack)
           
protected  void initializeStatic()
           
protected  void setArguments(VariableStack stack)
           
protected  void startBody(VariableStack stack)
           
 void startInstance(VariableStack stack, UDEWrapper wrapper, DefinitionEnvironment env)
           
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.user.UserDefinedElement
addStaticArgument, checkBothArgs, childCompleted, controlEvent, executeChildren, getArguments, getChannels, getEnv, getKmode, getOptargs, getSkip, getTextualName, hasChannels, hasNamed, hasNestedArgs, hasVargs, isArgumentsThread, pre, prepareInstanceArguments, setProperties, setProperty, setUDEArguments, startArguments, startBody
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
addChannel, argumentsEvaluated, checkArguments, getArgument, getArgumentCount, getArgumentIndex, getArgumentNames, getArguments, getMaxArgIndex, getNonpropargs, getOptionalArgs, getQuotedArgs, getSortedArgs, hasNestedArguments, hasVariableArguments, initializeArgs, newNameBindingVariableArguments, newVariableArguments, processArguments, setArguments, setHasVargs, setNestedArgs, setNonpropargs, setQuotedArgs, setVargs
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.Sequential
executeSingle, exit, getIndex, moreToExecute, notificationEvent, 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, checkClass, checkCompleted, checkFailed, complete, 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, 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, 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_NAME

public static final Arg A_NAME
Constructor Detail

ExplicitExecutionUDE

public ExplicitExecutionUDE()
Method Detail

initializeStatic

protected void initializeStatic()
Overrides:
initializeStatic in class UserDefinedElement

startInstance

public void startInstance(VariableStack stack,
                          UDEWrapper wrapper,
                          DefinitionEnvironment env)
                   throws ExecutionException
Specified by:
startInstance in class UserDefinedElement
Throws:
ExecutionException

startBody

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

setArguments

protected void setArguments(VariableStack stack)

getUDEArguments

protected Arguments getUDEArguments(VariableStack stack)
                             throws ExecutionException
Throws:
ExecutionException

checkFirstArg

protected boolean checkFirstArg(VariableStack stack)
                         throws ExecutionException
Overrides:
checkFirstArg in class UserDefinedElement
Throws:
ExecutionException