Class PathLateBindingValue
- java.lang.Object
-
- com.jayway.jsonpath.internal.function.latebinding.PathLateBindingValue
-
- All Implemented Interfaces:
ILateBindingValue
public class PathLateBindingValue extends java.lang.Object implements 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
Constructors Constructor Description PathLateBindingValue(Path path, java.lang.Object rootDocument, Configuration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.Objectget()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 Detail
-
PathLateBindingValue
public PathLateBindingValue(Path path, java.lang.Object rootDocument, Configuration configuration)
-
-
Method Detail
-
get
public java.lang.Object 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
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-