org.globus.cog.karajan.stack
Class VariableUtil

java.lang.Object
  extended by org.globus.cog.karajan.stack.VariableUtil

public final class VariableUtil
extends Object


Constructor Summary
VariableUtil()
           
 
Method Summary
static Object expand(Object value, VariableStack stack)
           
static Object expandProperty(FlowElement element, VariableStack stack, String name)
           
static FlowElement getCaller(VariableStack stack)
           
static int getForwardArgumentIndex(String arg)
          Deprecated. Forward arguments have been removed Returns the index from a forward argument. A forward argument has the form {<n>}, where <n> is the index. Returns -1 if the argument is not a valid forward argument.
static boolean isForwardArgument(String arg)
          Deprecated. Forward arguments have been removed
static void printKarajanStackTrace(VariableStack stack)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableUtil

public VariableUtil()
Method Detail

expandProperty

public static Object expandProperty(FlowElement element,
                                    VariableStack stack,
                                    String name)
                             throws ExecutionException
Throws:
ExecutionException

expand

public static Object expand(Object value,
                            VariableStack stack)
                     throws ExecutionException
Throws:
ExecutionException

isForwardArgument

public static boolean isForwardArgument(String arg)
Deprecated. Forward arguments have been removed


getForwardArgumentIndex

public static int getForwardArgumentIndex(String arg)
Deprecated. Forward arguments have been removed Returns the index from a forward argument. A forward argument has the form {<n>}, where <n> is the index. Returns -1 if the argument is not a valid forward argument.


printKarajanStackTrace

public static void printKarajanStackTrace(VariableStack stack)

getCaller

public static FlowElement getCaller(VariableStack stack)
                             throws VariableNotFoundException
Throws:
VariableNotFoundException