Home All Groups
org.springframework.boot.configurationprocessor.metadata

Class ConfigurationMetadata

  • java.lang.Object
    • org.springframework.boot.configurationprocessor.metadata.ConfigurationMetadata

  • public class ConfigurationMetadata
    extends java.lang.Object
    Configuration meta-data.
    Since:
    1.2.0
    See Also:
    ItemMetadata
    • Constructor Detail

      • ConfigurationMetadata

        public ConfigurationMetadata()
    • Method Detail

      • add

        public void add(ItemMetadata itemMetadata)
        Add item meta-data.
        Parameters:
        itemMetadata - the meta-data to add
      • addIfMissing

        public void addIfMissing(ItemMetadata itemMetadata)
        Add item meta-data if it's not already present.
        Parameters:
        itemMetadata - the meta-data to add
        Since:
        2.4.0
      • add

        public void add(ItemHint itemHint)
        Add item hint.
        Parameters:
        itemHint - the item hint to add
      • getItems

        public java.util.List<ItemMetadata> getItems()
        Return item meta-data.
        Returns:
        the items
      • getHints

        public java.util.List<ItemHint> getHints()
        Return hint meta-data.
        Returns:
        the hints
      • mergeItemMetadata

        protected void mergeItemMetadata(ItemMetadata metadata)
      • nestedPrefix

        public static java.lang.String nestedPrefix(java.lang.String prefix,
                                                    java.lang.String name)
      • toString

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