public interface ConfigurationData
ConfigurationDataBuilder.| Modifier and Type | Method and Description |
|---|---|
Map<String,List<String>> |
getAllComments()
Returns all comments registered to this configuration data.
|
List<String> |
getCommentsForSection(String path)
Returns the comments associated with the given path.
|
List<Property<?>> |
getProperties()
Returns all known properties.
|
<T> T |
getValue(Property<T> property)
Returns the value associated with the given property.
|
void |
initializeValues(PropertyReader propertyReader)
Initializes the values of all
known properties based on the provided reader. |
<T> void |
setValue(Property<T> property,
T value)
Sets the given value for the given property.
|
List<Property<?>> getProperties()
PropertyListBuilder
for more details).List<String> getCommentsForSection(String path)
path - the path for which the comments should be retrievedMap<String,List<String>> getAllComments()
getCommentsForSection(String) if you are not interested
in the entirety of comments.void initializeValues(PropertyReader propertyReader)
known properties based on the provided reader.
Clears any already existing values.propertyReader - the reader to use to determine the property's values<T> T getValue(Property<T> property)
getProperties().T - property typeproperty - the property to look up<T> void setValue(Property<T> property, T value)
T - the property typeproperty - the property to change the value forvalue - the value to setCopyright © 2016–2018 The AuthMe Team. All rights reserved.