Class CommandDocumentationEntry


  • public final class CommandDocumentationEntry
    extends Object
    Represents a documentation entry. An entry is a subsection of the documentation of the command. An entry shows one possible syntax for the command, a description of what this part of the command does, and the different flags that can be used.
    • Method Detail

      • getSyntax

        public String getSyntax()
        Gets the syntax of the command relevant for this entry.
        Returns:
        the syntax
      • getDescription

        public String getDescription()
        Gets the description of what the command does, according to the usage represented by this entry.
        Returns:
        the description
      • getFlagInfo

        public Map<String,​FlagInformation> getFlagInfo()
        Gets information on the flags that can be used with this part of the command.
        Returns:
        the information on available flags