Package org.casbin.jcasbin.util.function
Class EvalFunc
java.lang.Object
com.googlecode.aviator.runtime.type.AviatorObject
com.googlecode.aviator.runtime.function.AbstractFunction
org.casbin.jcasbin.util.function.CustomFunction
org.casbin.jcasbin.util.function.EvalFunc
- All Implemented Interfaces:
com.googlecode.aviator.runtime.type.AviatorFunction
,Serializable
,Runnable
,Callable<com.googlecode.aviator.runtime.type.AviatorObject>
EvalFunc is the wrapper for eval.
It extends CustomFunction, so it can be used in matcher and policy rule.
- See Also:
-
Field Summary
Fields inherited from class com.googlecode.aviator.runtime.type.AviatorObject
metadata
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.casbin.jcasbin.util.function.CustomFunction
getAviatorEval, replaceTargets, setAviatorEval
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
-
Constructor Details
-
EvalFunc
public EvalFunc()
-
-
Method Details
-
call
public com.googlecode.aviator.runtime.type.AviatorObject call(Map<String, Object> env, com.googlecode.aviator.runtime.type.AviatorObject arg1) - Specified by:
call
in interfacecom.googlecode.aviator.runtime.type.AviatorFunction
- Overrides:
call
in classcom.googlecode.aviator.runtime.function.AbstractFunction
-
getName
-