Class PropertiesLookup.ContextPropertyResult
- java.lang.Object
-
- org.apache.logging.log4j.core.lookup.PropertiesLookup.ContextPropertyResult
-
- All Implemented Interfaces:
LookupResult
- Enclosing class:
- PropertiesLookup
private static final class PropertiesLookup.ContextPropertyResult extends java.lang.Object implements LookupResult
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
value
-
Constructor Summary
Constructors Constructor Description ContextPropertyResult(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isLookupEvaluationAllowedInValue()
Unlike configuration properties, context properties are not built around lookup syntax.java.lang.String
toString()
java.lang.String
value()
Value of the lookup result.
-
-
-
Method Detail
-
value
public java.lang.String value()
Description copied from interface:LookupResult
Value of the lookup result. Never null.- Specified by:
value
in interfaceLookupResult
-
isLookupEvaluationAllowedInValue
public boolean isLookupEvaluationAllowedInValue()
Unlike configuration properties, context properties are not built around lookup syntax.- Specified by:
isLookupEvaluationAllowedInValue
in interfaceLookupResult
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-