Class Property

    • Field Detail

      • EMPTY_ARRAY

        public static final Property[] EMPTY_ARRAY
        Since:
        2.11.2
    • Method Detail

      • getName

        public String getName()
        Returns the property name.
        Returns:
        the property name.
      • getRawValue

        public String getRawValue()
        Returns the original raw property value without substitution.
        Returns:
        the raw value of the property, or empty string if it is not set.
      • getValue

        public String getValue()
        Returns the property value.
        Returns:
        the value of the property.
      • isValueNeedsLookup

        public boolean isValueNeedsLookup()
        Returns true if the value contains a substitutable property that requires a lookup to be resolved.
        Returns:
        true if the value contains {@code "${"}, {@code false} otherwise
      • createProperty

        public static Property createProperty​(String name,
                                              String value)
        Creates a Property.
        Parameters:
        name - The key.
        value - The value.
        Returns:
        A Property.