Interface LookupResult
-
- All Known Implementing Classes:
DefaultLookupResult
,PropertiesLookup.ConfigurationPropertyResult
,PropertiesLookup.ContextPropertyResult
public interface LookupResult
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
isLookupEvaluationAllowedInValue()
True if thevalue()
should be re-evaluated for other lookups.java.lang.String
value()
Value of the lookup result.
-
-
-
Method Detail
-
value
java.lang.String value()
Value of the lookup result. Never null.
-
isLookupEvaluationAllowedInValue
default boolean isLookupEvaluationAllowedInValue()
True if thevalue()
should be re-evaluated for other lookups. This is used byPropertiesLookup
to allow properties to be evaluated against other properties, because the configuration properties are completely trusted and designed with lookups in mind. It is unsafe to return true in most cases because it may allow unintended lookups to evaluate other lookups.
-
-