org.globus.cog.karajan.workflow.nodes.user
Class UserDefinedElement
java.lang.Object
org.globus.cog.karajan.workflow.nodes.FlowNode
org.globus.cog.karajan.workflow.nodes.FlowContainer
org.globus.cog.karajan.workflow.nodes.Sequential
org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
org.globus.cog.karajan.workflow.nodes.user.UserDefinedElement
- All Implemented Interfaces:
- EventListener, ExtendedFlowElement, FlowElement, LoadListener, NonCacheable
- Direct Known Subclasses:
- ExplicitExecutionUDE, ParallelImplicitExecutionUDE, SequentialImplicitExecutionUDE
- public abstract class UserDefinedElement
- extends AbstractSequentialWithArguments
- implements NonCacheable
| Fields inherited from class org.globus.cog.karajan.workflow.nodes.Sequential |
INDEX |
| 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, processArguments, setArguments, setArguments, setHasVargs, setNestedArgs, setNonpropargs, setQuotedArgs, setVargs |
| Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode |
abort, acceptsInlineText, addElement, checkClass, checkCompleted, checkFailed, complete, 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, 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, start, startElement, startElement, toString, verify |
START_BODY
public static final ControlEventType START_BODY
FNARGS
public static final String FNARGS
- See Also:
- Constant Field Values
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
ARGUMENTS_THREAD
public static final String ARGUMENTS_THREAD
- See Also:
- Constant Field Values
BODY_THREAD
public static final String BODY_THREAD
- See Also:
- Constant Field Values
UserDefinedElement
public UserDefinedElement()
initializeStatic
protected void initializeStatic()
- Overrides:
initializeStatic in class AbstractSequentialWithArguments
pre
public void pre(VariableStack stack)
throws ExecutionException
- Overrides:
pre in class AbstractSequentialWithArguments
- Throws:
ExecutionException
startInstance
public abstract void startInstance(VariableStack stack,
UDEWrapper wrapper)
throws ExecutionException
- Throws:
ExecutionException
startBody
public void startBody(VariableStack stack,
Arguments fnargs)
throws ExecutionException
- Throws:
ExecutionException
post
public void post(VariableStack stack)
throws ExecutionException
- Overrides:
post in class FlowContainer
- Throws:
ExecutionException
prepareInstanceArguments
protected void prepareInstanceArguments(VariableStack stack,
Arguments fnargs)
throws ExecutionException
- Throws:
ExecutionException
controlEvent
protected void controlEvent(ControlEvent e)
throws ExecutionException
- Overrides:
controlEvent in class FlowNode
- Throws:
ExecutionException
notificationEvent
protected void notificationEvent(NotificationEvent e)
throws ExecutionException
- Overrides:
notificationEvent in class AbstractSequentialWithArguments
- Throws:
ExecutionException
checkFirstArg
protected boolean checkFirstArg(VariableStack stack)
throws ExecutionException
- Throws:
ExecutionException
checkBothArgs
protected void checkBothArgs(VariableStack stack)
throws ExecutionException
- Throws:
ExecutionException
startArguments
protected void startArguments(VariableStack stack,
UDEWrapper wrapper)
throws ExecutionException
- Throws:
ExecutionException
isArgumentsThread
protected boolean isArgumentsThread(VariableStack stack)
executeChildren
protected void executeChildren(VariableStack stack)
throws ExecutionException
- Overrides:
executeChildren in class Sequential
- Throws:
ExecutionException
setUDEArguments
protected void setUDEArguments(List args)
getElementType
public String getElementType()
- Specified by:
getElementType in interface FlowElement- Overrides:
getElementType in class FlowNode
getArguments
public String[] getArguments()
getOptargs
public String[] getOptargs()
hasNamed
public boolean hasNamed()
hasNestedArgs
public boolean hasNestedArgs()
hasVargs
public boolean hasVargs()
getChannels
public String[] getChannels()
hasChannels
public boolean hasChannels()
getKmode
protected boolean getKmode()
getSkip
public int getSkip()
setProperty
public void setProperty(String name,
Object value)
- Specified by:
setProperty in interface FlowElement- Overrides:
setProperty in class FlowNode