Class DefaultLookupResult

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String value  
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultLookupResult​(java.lang.String value)  
    • Field Detail

      • value

        private final java.lang.String value
    • Constructor Detail

      • DefaultLookupResult

        DefaultLookupResult​(java.lang.String value)
    • Method Detail

      • value

        public java.lang.String value()
        Description copied from interface: LookupResult
        Value of the lookup result. Never null.
        Specified by:
        value in interface LookupResult
      • isLookupEvaluationAllowedInValue

        public boolean isLookupEvaluationAllowedInValue()
        Description copied from interface: LookupResult
        True if the LookupResult.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.
        Specified by:
        isLookupEvaluationAllowedInValue in interface LookupResult
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object