org.globus.cog.karajan.workflow.nodes.functions
Class FunctionsCollection

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.SequentialWithArguments
                      extended byorg.globus.cog.karajan.workflow.nodes.functions.AbstractFunction
                          extended byorg.globus.cog.karajan.workflow.nodes.functions.FunctionsCollection
All Implemented Interfaces:
EventListener, ExtendedFlowElement, FlowElement, LoadListener
Direct Known Subclasses:
Functions, Java, List, Logic, Map, Math, Misc

public abstract class FunctionsCollection
extends AbstractFunction


Nested Class Summary
 
Nested classes inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
FlowNode.FNTP
 
Field Summary
static String[] argNamesBD
           
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
commonArguments, QUOTED
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.Sequential
INDEX
 
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
FunctionsCollection()
           
 
Method Summary
 boolean acceptsInlineText()
           
protected static void addAlias(String from, String to)
           
 long currenttime(VariableStack stack)
           
 Object function(VariableStack stack)
           
 Number[] getArgs(VariableStack stack)
           
 String getCanonicalName()
           
 Object getCanonicalType()
           
protected  void initializeStatic()
           
protected static void setAcceptsInlineText(String fname, boolean text)
           
 void setElementType(String type)
           
protected static void setQuotedArgs(String fn)
           
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction
executeSimple, isSimple, post, setSimple, setValue
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.SequentialWithArguments
executeChildren
 
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, notificationEvent, pre, processArguments, setArguments, setArguments, setHasVargs, setNestedArgs, setNonpropargs, setQuotedArgs, setVargs
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.Sequential
executeSingle, exit, moreToExecute, startNext
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowContainer
addChannel, execute, isOptimizable, setOptimize
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
abort, addElement, checkClass, checkCompleted, checkFailed, complete, controlEvent, copy, echo, echo, elementCount, elements, end, event, executeErrorHandler, expandProperty, expandProperty, expandPropertyAsString, fail, fail, failIfNotDefined, failIfNull, failIfNull, failImmediately, failImmediately, failImmediately, fireControlEvent, fireMonitoringEvent, fireNotificationEvent, fireStatusMonitoringEvent, get_locator, getBooleanProperty, getBooleanProperty, getElement, getElementType, getIntProperty, getIntProperty, getParent, getProjectNode, getProperty, getStringProperty, getTreeProperty, getVar, hasFrame, hashCode, hasProperty, isCheckpointable, isSystemProperty, loadComplete, loadStarted, monitoringEvent, propertyNames, removeProperty, restart, restartElement, ret, ret, set_locator, setAcceptsInlineText, setCheckpointable, 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

argNamesBD

public static final String[] argNamesBD
Constructor Detail

FunctionsCollection

public FunctionsCollection()
Method Detail

setAcceptsInlineText

protected static void setAcceptsInlineText(String fname,
                                           boolean text)

addAlias

protected static void addAlias(String from,
                               String to)

setElementType

public void setElementType(String type)
Specified by:
setElementType in interface FlowElement
Overrides:
setElementType in class FlowNode

getCanonicalName

public String getCanonicalName()

function

public Object function(VariableStack stack)
                throws ExecutionException
Specified by:
function in class AbstractFunction
Throws:
ExecutionException

currenttime

public long currenttime(VariableStack stack)
                 throws ExecutionException
Throws:
ExecutionException

getArgs

public Number[] getArgs(VariableStack stack)
                 throws ExecutionException
Throws:
ExecutionException

acceptsInlineText

public boolean acceptsInlineText()
Specified by:
acceptsInlineText in interface FlowElement
Overrides:
acceptsInlineText in class FlowNode

getCanonicalType

public Object getCanonicalType()
Overrides:
getCanonicalType in class FlowNode

setQuotedArgs

protected static void setQuotedArgs(String fn)

initializeStatic

protected void initializeStatic()
Overrides:
initializeStatic in class AbstractSequentialWithArguments