Class CustomFunction
java.lang.Object
com.googlecode.aviator.runtime.type.AviatorObject
com.googlecode.aviator.runtime.function.AbstractFunction
org.casbin.jcasbin.util.function.CustomFunction
- All Implemented Interfaces:
com.googlecode.aviator.runtime.type.AviatorFunction, Serializable, Runnable, Callable<com.googlecode.aviator.runtime.type.AviatorObject>
- Direct Known Subclasses:
EvalFunc
public abstract class CustomFunction
extends com.googlecode.aviator.runtime.function.AbstractFunction
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.googlecode.aviator.AviatorEvaluatorInstanceFields inherited from class com.googlecode.aviator.runtime.type.AviatorObject
metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.googlecode.aviator.AviatorEvaluatorInstancereplaceTargets(String exp, Map<String, Object> env) voidsetAviatorEval(com.googlecode.aviator.AviatorEvaluatorInstance aviatorEval) 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, call, desc, getAviatorType, getValue, innerCompare, run, throwArityMethods 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, withoutMetaMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.googlecode.aviator.runtime.type.AviatorFunction
getName
-
Field Details
-
aviatorEval
private com.googlecode.aviator.AviatorEvaluatorInstance aviatorEval
-
-
Constructor Details
-
CustomFunction
public CustomFunction()
-
-
Method Details
-
replaceTargets
-
getAviatorEval
public com.googlecode.aviator.AviatorEvaluatorInstance getAviatorEval() -
setAviatorEval
public void setAviatorEval(com.googlecode.aviator.AviatorEvaluatorInstance aviatorEval)
-