Package berlin.yuna.configmetadata.model
Class ConfigurationMetadata
- java.lang.Object
-
- berlin.yuna.configmetadata.logic.MetaDataGenerator
-
- berlin.yuna.configmetadata.model.ConfigurationMetadata
-
public class ConfigurationMetadata extends MetaDataGenerator
ConfigurationMetadatagenerates META-INF/spring-configuration-metadata.json
- See Also:
- Spring boot configuration-metadata
-
-
Field Summary
-
Fields inherited from class berlin.yuna.configmetadata.logic.MetaDataGenerator
GENERAL_META_DATA_PATH, TYPE_AUTO_CONFIG, TYPE_CONFIG_META_DATA
-
-
Constructor Summary
Constructors Constructor Description ConfigurationMetadata()
ConfigurationMetadata(String group, Class sourceType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Path
generate()
Generates metadataPath
generate(Path outputPath)
Generates metadataArrayList<Groups>
groups()
void
groups(ArrayList<Groups> groups)
int
hashCode()
ArrayList<Hints>
hints()
void
hints(ArrayList<Hints> hints)
Groups
newGroups()
Groups
newGroups(String group, Class sourceType)
Hints
newHints()
Properties
newProperties()
ArrayList<Properties>
properties()
void
properties(ArrayList<Properties> properties)
String
toString()
-
Methods inherited from class berlin.yuna.configmetadata.logic.MetaDataGenerator
write, write
-
-
-
-
Method Detail
-
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
-
newHints
public Hints newHints()
-
newGroups
public Groups newGroups()
-
properties
public ArrayList<Properties> properties()
-
properties
public void properties(ArrayList<Properties> properties)
-
newProperties
public Properties newProperties()
-
-