Class Variable
java.lang.Object
build.buf.protovalidate.internal.expression.Variable
- All Implemented Interfaces:
org.projectnessie.cel.interpreter.Activation
Variable implements Activation, providing a
lightweight named variable to cel.Program executions.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.projectnessie.cel.interpreter.Activation
org.projectnessie.cel.interpreter.Activation.FunctionActivation, org.projectnessie.cel.interpreter.Activation.HierarchicalActivation, org.projectnessie.cel.interpreter.Activation.MapActivation, org.projectnessie.cel.interpreter.Activation.PartActivation, org.projectnessie.cel.interpreter.Activation.PartialActivation, org.projectnessie.cel.interpreter.Activation.VarActivation -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic VariablenewRulesVariable(Object val) Creates a new "rules" variable.static VariablenewThisVariable(Object val) Creates a new "this" variable.org.projectnessie.cel.interpreter.Activationparent()org.projectnessie.cel.interpreter.ResolvedValueresolveName(String name)
-
Field Details
-
THIS_NAME
- See Also:
-
RULES_NAME
- See Also:
-
-
Method Details
-
newThisVariable
Creates a new "this" variable.- Parameters:
val- the value.- Returns:
Variable.
-
newRulesVariable
Creates a new "rules" variable.- Parameters:
val- the value.- Returns:
Variable.
-
resolveName
- Specified by:
resolveNamein interfaceorg.projectnessie.cel.interpreter.Activation
-
parent
public org.projectnessie.cel.interpreter.Activation parent()- Specified by:
parentin interfaceorg.projectnessie.cel.interpreter.Activation
-