public class CommentsConfiguration extends Object
SettingsHolder.registerComments(ch.jalu.configme.configurationdata.CommentsConfiguration)).| Constructor and Description |
|---|
CommentsConfiguration()
Constructor.
|
CommentsConfiguration(Map<String,List<String>> comments)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<String>> |
getAllComments()
Returns a read-only view of the map with all comments.
|
void |
setComment(String path,
String... commentLines)
Sets the given lines for the provided path, overriding any previously existing comments for the path.
|
public void setComment(String path, String... commentLines)
path - the path to register the comment lines forcommentLines - the comment lines to set for the pathCopyright © 2016–2018 The AuthMe Team. All rights reserved.