Class PathLateBindingValue
java.lang.Object
com.jayway.jsonpath.internal.function.latebinding.PathLateBindingValue
- All Implemented Interfaces:
ILateBindingValue
Defines the contract for late bindings, provides document state and enough context to perform the evaluation at a later
date such that we can operate on a dynamically changing value.
Acts like a lambda function with references, but since we're supporting JDK 6+, we're left doing this...
-
Constructor Summary
ConstructorsConstructorDescriptionPathLateBindingValue(Path path, Object rootDocument, Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptionbooleanget()Obtain the value of the parameter at runtime using the parameter state and invocation of other late binding values rather than maintaining cached state which ends up in a global store and won't change as a result of external reference changes.
-
Constructor Details
-
PathLateBindingValue
-
-
Method Details
-
get
Description copied from interface:ILateBindingValueObtain the value of the parameter at runtime using the parameter state and invocation of other late binding values rather than maintaining cached state which ends up in a global store and won't change as a result of external reference changes.- Specified by:
getin interfaceILateBindingValue- Returns:
- the late value
-
equals
-