Class ManCommand

    • Constructor Detail

      • ManCommand

        public ManCommand​(String commandIdentifier,
                          String description,
                          String extendedDescription)
        Create a new ManCommand providing a commandIdentifier, a short description and the extended description
        Parameters:
        commandIdentifier - the unique identifier of this command (e.g. the command string to enter into chat)
        description - the description of this command
        extendedDescription - The extended Description for the Command, should provide detailed information about arguments and possible options
    • Method Detail

      • getExtendedDescription

        public String getExtendedDescription()
        Description copied from interface: IManCommand
        Returns the extended Description of this command
        Specified by:
        getExtendedDescription in interface IManCommand
        Returns:
        the extendedDescription
      • toMan

        public String toMan()
        Description copied from interface: IManCommand
        Returns a String Representations of the Command and it's extended Description.
        Specified by:
        toMan in interface IManCommand
        Returns:
        a String representing the Command and it's extended Description