Interface CommentedConfig.Entry

All Superinterfaces:
Config.Entry, UnmodifiableCommentedConfig.Entry, UnmodifiableConfig.Entry
All Known Implementing Classes:
AbstractCommentedConfig.CommentedEntryWrapper
Enclosing interface:
CommentedConfig

public static interface CommentedConfig.Entry extends Config.Entry, UnmodifiableCommentedConfig.Entry
A modifiable commented config entry.
  • Method Details

    • setComment

      String setComment(String comment)
      Sets the entry's comment.
      Parameters:
      comment - the comment to set, may contain several lines.
      Returns:
      the previous comment, or null if none.
    • removeComment

      String removeComment()
      Removes the entry's comment.
      Returns:
      the previous comment, or null if none.