Class ConfigurationMetadata

java.lang.Object
berlin.yuna.configmetadata.logic.MetaDataGenerator
berlin.yuna.configmetadata.model.ConfigurationMetadata

public class ConfigurationMetadata extends MetaDataGenerator
ConfigurationMetadata

generates META-INF/spring-configuration-metadata.json

See Also:
  • Constructor Details

    • ConfigurationMetadata

      public ConfigurationMetadata()
    • ConfigurationMetadata

      public ConfigurationMetadata(String group, Class<?> sourceType)
  • Method Details

    • generate

      public Path generate() throws IOException
      Generates metadata
      Returns:
      written metadata path
      Throws:
      IOException - when the file could not be written
    • generate

      public Path generate(Path outputPath) throws IOException
      Generates metadata
      Parameters:
      outputPath - custom path to write meta data file
      Returns:
      written metadata path
      Throws:
      IOException - when the file could not be written
    • hints

      public List<Hints> hints()
    • hints

      public void hints(List<Hints> hints)
    • newHints

      public Hints newHints()
    • groups

      public List<Groups> groups()
    • groups

      public void groups(List<Groups> groups)
    • newGroups

      public Groups newGroups()
    • newGroups

      public Groups newGroups(String group, Class<?> sourceType)
    • properties

      public List<Properties> properties()
    • properties

      public void properties(List<Properties> properties)
    • newProperties

      public Properties newProperties()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object