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

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.SequentialWithArguments
                      extended by org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction
                          extended by org.globus.cog.karajan.workflow.nodes.functions.FunctionsCollection
                              extended by org.globus.cog.karajan.workflow.nodes.functions.Misc
All Implemented Interfaces:
LoadListener, EventListener, ExtendedFlowElement, FlowElement

public class Misc
extends FunctionsCollection


Nested Class Summary
static class Misc.DotIterator
           
 
Nested classes/interfaces inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
FlowNode.FNTP
 
Field Summary
static Arg.Channel CA_PROPERTIES
           
static String codes
           
static Comparator INVERSE_COMPARATOR
           
static Integer MINUS_ONE
           
static Arg OA_ASMAP
           
static Arg OA_CONTEXT
           
static Arg OA_DESCENDING
           
static Arg OA_INVERT
           
static Arg OA_PREFIX
           
static Arg OA_STEP
           
static Arg OA_SUFFIX
           
static Arg OA_TO
           
static Arg PA_CODE
           
static Arg PA_FILE
           
static Arg PA_FROM
           
static Arg PA_NAME
           
static Arg PA_OFFSET
           
static Arg PA_PATTERN
           
static Arg PA_REGEXP
           
static Arg PA_SEPARATOR
           
static Arg PA_STREAM
           
static Arg PA_STRING
           
static Arg PA_TO
           
static Arg PA_TYPE
           
static Arg PA_VALUE
           
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.functions.FunctionsCollection
ARGS_2VALUES, PA_VALUE1, PA_VALUE2
 
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
Misc()
           
 
Method Summary
protected  String alphanum(long val)
           
 char str_chr(VariableStack stack)
           
 String str_concat(VariableStack stack)
           
 boolean str_matches(VariableStack stack)
           
 Object str_nl(VariableStack stack)
           
 Object str_quote(VariableStack stack)
           
 List str_split(VariableStack stack)
           
 Object str_strip(VariableStack stack)
           
 String str_substring(VariableStack stack)
           
 boolean sys___bang___eq_(VariableStack stack)
           
 Object sys_closestream(VariableStack stack)
           
 boolean sys_contains(VariableStack stack)
           
 Object sys_cross(VariableStack stack)
           
 void sys_discard(VariableStack stack)
           
 Object sys_dot(VariableStack stack)
           
 boolean sys_equals(VariableStack stack)
           
 Object sys_file_readline(VariableStack stack)
           
 Object sys_filter(VariableStack stack)
           
 boolean sys_isdefined(VariableStack stack)
           
 boolean sys_islist(VariableStack stack)
           
 boolean sys_istrue(VariableStack stack)
           
 double sys_number(VariableStack stack)
           
 Object sys_numberformat(VariableStack stack)
           
 Object sys_outputstream(VariableStack stack)
           
 void sys_property(VariableStack stack)
           
 RangeIterator sys_range(VariableStack stack)
           
 Object sys_readfile(VariableStack stack)
           
 Object sys_sort(VariableStack stack)
           
 Object sys_stats(VariableStack stack)
           
 Object sys_uid(VariableStack stack)
           
 Object sys_value(VariableStack stack)
           
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.functions.FunctionsCollection
acceptsInlineText, addAlias, currenttime, function, getArgs, getCanonicalName, getCanonicalType, initializeStatic, setAcceptsInlineText, setElementType, setQuotedArgs
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction
executeChildren, executeSimple, isSimple, post, pre, ret, setSimple, setValue
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
addChannel, argumentsEvaluated, checkArguments, childCompleted, getArgument, getArgumentCount, getArgumentIndex, getArgumentNames, getArguments, getChannels, getMaxArgIndex, getNonpropargs, getOptionalArgs, getQuotedArgs, getSortedArgs, hasChannels, 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, setChildFailed, setOptimize
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
_finally, abort, abortEvent, addElement, addStaticArgument, checkClass, checkCompleted, checkFailed, complete, controlEvent, copy, echo, echo, elementCount, elements, event, executeErrorHandler, fail, fail, failIfNotDefined, failIfNull, failIfNull, failImmediately, failImmediately, failImmediately, failImmediately, fireControlEvent, fireMonitoringEvent, fireNotificationEvent, fireStatusMonitoringEvent, get_locator, getBooleanProperty, getBooleanProperty, getElement, getElementType, getIntProperty, getIntProperty, getParent, getProperty, getStaticArguments, getStringProperty, getTextualName, getTreeProperty, getUID, hasFrame, hasProperty, isCheckpointable, isSystemProperty, loadComplete, loadStarted, monitoringEvent, propertyNames, removeElement, removeElement, removeProperty, replaceElement, restart, restartElement, set_locator, setAcceptsInlineText, setCheckpointable, setElements, setFrame, setParent, setProperties, setProperty, 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

PA_FILE

public static final Arg PA_FILE

PA_VALUE

public static final Arg PA_VALUE

PA_PATTERN

public static final Arg PA_PATTERN

PA_OFFSET

public static final Arg PA_OFFSET

OA_CONTEXT

public static final Arg OA_CONTEXT

OA_PREFIX

public static final Arg OA_PREFIX

OA_SUFFIX

public static final Arg OA_SUFFIX

codes

public static final String codes
See Also:
Constant Field Values

PA_NAME

public static final Arg PA_NAME

CA_PROPERTIES

public static final Arg.Channel CA_PROPERTIES

PA_TYPE

public static final Arg PA_TYPE

PA_STREAM

public static final Arg PA_STREAM

MINUS_ONE

public static final Integer MINUS_ONE

PA_STRING

public static final Arg PA_STRING

PA_FROM

public static final Arg PA_FROM

OA_TO

public static final Arg OA_TO

PA_REGEXP

public static final Arg PA_REGEXP

PA_SEPARATOR

public static final Arg PA_SEPARATOR

PA_TO

public static final Arg PA_TO

OA_STEP

public static final Arg OA_STEP

OA_INVERT

public static final Arg OA_INVERT

OA_DESCENDING

public static final Arg OA_DESCENDING

INVERSE_COMPARATOR

public static final Comparator INVERSE_COMPARATOR

PA_CODE

public static final Arg PA_CODE

OA_ASMAP

public static final Arg OA_ASMAP
Constructor Detail

Misc

public Misc()
Method Detail

sys_contains

public boolean sys_contains(VariableStack stack)
                     throws ExecutionException
Throws:
ExecutionException

sys_equals

public boolean sys_equals(VariableStack stack)
                   throws ExecutionException
Throws:
ExecutionException

sys___bang___eq_

public boolean sys___bang___eq_(VariableStack stack)
                         throws ExecutionException
Throws:
ExecutionException

sys_numberformat

public Object sys_numberformat(VariableStack stack)
                        throws ExecutionException
Throws:
ExecutionException

sys_readfile

public Object sys_readfile(VariableStack stack)
                    throws ExecutionException
Throws:
ExecutionException

sys_file_readline

public Object sys_file_readline(VariableStack stack)
                         throws ExecutionException
Throws:
ExecutionException

sys_uid

public Object sys_uid(VariableStack stack)
               throws ExecutionException
Throws:
ExecutionException

alphanum

protected String alphanum(long val)

sys_property

public void sys_property(VariableStack stack)
                  throws ExecutionException
Throws:
ExecutionException

sys_number

public double sys_number(VariableStack stack)
                  throws ExecutionException
Throws:
ExecutionException

sys_outputstream

public Object sys_outputstream(VariableStack stack)
                        throws ExecutionException
Throws:
ExecutionException

sys_closestream

public Object sys_closestream(VariableStack stack)
                       throws ExecutionException
Throws:
ExecutionException

str_concat

public String str_concat(VariableStack stack)
                  throws ExecutionException
Throws:
ExecutionException

str_substring

public String str_substring(VariableStack stack)
                     throws ExecutionException
Throws:
ExecutionException

sys_isdefined

public boolean sys_isdefined(VariableStack stack)
                      throws ExecutionException
Throws:
ExecutionException

sys_istrue

public boolean sys_istrue(VariableStack stack)
                   throws ExecutionException
Throws:
ExecutionException

sys_islist

public boolean sys_islist(VariableStack stack)
                   throws ExecutionException
Throws:
ExecutionException

str_matches

public boolean str_matches(VariableStack stack)
                    throws ExecutionException
Throws:
ExecutionException

str_split

public List str_split(VariableStack stack)
               throws ExecutionException
Throws:
ExecutionException

str_quote

public Object str_quote(VariableStack stack)
                 throws ExecutionException
Throws:
ExecutionException

sys_discard

public void sys_discard(VariableStack stack)
                 throws ExecutionException
Throws:
ExecutionException

sys_range

public RangeIterator sys_range(VariableStack stack)
                        throws ExecutionException
Throws:
ExecutionException

sys_filter

public Object sys_filter(VariableStack stack)
                  throws ExecutionException
Throws:
ExecutionException

sys_sort

public Object sys_sort(VariableStack stack)
                throws ExecutionException
Throws:
ExecutionException

sys_value

public Object sys_value(VariableStack stack)
                 throws ExecutionException
Throws:
ExecutionException

str_nl

public Object str_nl(VariableStack stack)
              throws ExecutionException
Throws:
ExecutionException

str_strip

public Object str_strip(VariableStack stack)
                 throws ExecutionException
Throws:
ExecutionException

sys_dot

public Object sys_dot(VariableStack stack)
               throws ExecutionException
Throws:
ExecutionException

sys_cross

public Object sys_cross(VariableStack stack)
                 throws ExecutionException
Throws:
ExecutionException

str_chr

public char str_chr(VariableStack stack)
             throws ExecutionException
Throws:
ExecutionException

sys_stats

public Object sys_stats(VariableStack stack)
                 throws ExecutionException
Throws:
ExecutionException