public interface ObjectInterpolator
Interpolator
instance to resolve any String values in the
graph.Modifier and Type | Method and Description |
---|---|
List |
getWarnings()
Retrieve the
List of warnings (ObjectInterpolationWarning
instances) generated during the last interpolation execution. |
boolean |
hasWarnings()
Returns true if the last interpolation execution generated warnings.
|
void |
interpolate(Object target,
Interpolator interpolator)
Traverse the object graph from the given starting point and interpolate
any Strings found in that graph using the given
Interpolator . |
void |
interpolate(Object target,
Interpolator interpolator,
RecursionInterceptor recursionInterceptor)
Traverse the object graph from the given starting point and interpolate
any Strings found in that graph using the given
Interpolator . |
void interpolate(Object target, Interpolator interpolator) throws InterpolationException
Interpolator
.target
- The starting point of the object graph to traverseinterpolator
- The Interpolator
used to resolve any Strings encountered during traversal.InterpolationException
void interpolate(Object target, Interpolator interpolator, RecursionInterceptor recursionInterceptor) throws InterpolationException
Interpolator
.target
- The starting point of the object graph to traverseinterpolator
- The Interpolator
used to resolve any Strings encountered during traversal.recursionInterceptor
- The RecursionInterceptor
used to detect cyclical expressions in the graphInterpolationException
boolean hasWarnings()
List getWarnings()
List
of warnings (ObjectInterpolationWarning
instances) generated during the last interpolation execution.Copyright © 2019. All rights reserved.