public interface LookupResult
Modifier and Type | Method and Description |
---|---|
default boolean |
isLookupEvaluationAllowedInValue()
True if the
value() should be re-evaluated for other lookups. |
String |
value()
Value of the lookup result.
|
String value()
default boolean isLookupEvaluationAllowedInValue()
value()
should be re-evaluated for other lookups.
This is used by PropertiesLookup
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. Copyright © 1999-2023 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.