Class EvalFunc

  • All Implemented Interfaces:
    com.googlecode.aviator.runtime.type.AviatorFunction, java.io.Serializable, java.lang.Runnable, java.util.concurrent.Callable<com.googlecode.aviator.runtime.type.AviatorObject>

    public class EvalFunc
    extends CustomFunction
    EvalFunc is the wrapper for eval. It extends CustomFunction, so it can be used in matcher and policy rule.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class com.googlecode.aviator.runtime.type.AviatorObject

        metadata
    • Constructor Summary

      Constructors 
      Constructor Description
      EvalFunc()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.googlecode.aviator.runtime.type.AviatorObject call​(java.util.Map<java.lang.String,​java.lang.Object> env, com.googlecode.aviator.runtime.type.AviatorObject arg1)  
      java.lang.String getName()  
      • Methods inherited from class com.googlecode.aviator.runtime.function.AbstractFunction

        call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, desc, getAviatorType, getValue, innerCompare, run, throwArity
      • Methods inherited from class com.googlecode.aviator.runtime.type.AviatorObject

        add, bitAnd, bitNot, bitOr, bitXor, booleanValue, compare, compareEq, defineValue, deref, div, exponent, getElement, getMetadata, isNull, match, meta, mod, mult, neg, not, numberValue, setValue, shiftLeft, shiftRight, stringValue, sub, toString, unsignedShiftRight, withMeta, withoutMeta
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EvalFunc

        public EvalFunc()
    • Method Detail

      • call

        public com.googlecode.aviator.runtime.type.AviatorObject call​(java.util.Map<java.lang.String,​java.lang.Object> env,
                                                                      com.googlecode.aviator.runtime.type.AviatorObject arg1)
        Specified by:
        call in interface com.googlecode.aviator.runtime.type.AviatorFunction
        Overrides:
        call in class com.googlecode.aviator.runtime.function.AbstractFunction
      • getName

        public java.lang.String getName()