Package redempt.ordinate.help
Class HelpPage<T>
java.lang.Object
redempt.ordinate.help.HelpPage<T>
- Type Parameters:
T
- The sender type
Represents a collection of help entries, one for each command
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAll()
Gets the help entry for a given commandgetHelpRecursive
(Command<T> command, boolean filterDescriptionless) Gets the help entry for a given command and all of its subcommands recursively
-
Constructor Details
-
HelpPage
-
-
Method Details
-
getHelp
Gets the help entry for a given command- Parameters:
command
- The command- Returns:
- The help entry
-
getHelpRecursive
Gets the help entry for a given command and all of its subcommands recursively- Parameters:
command
- The commandfilterDescriptionless
- Whether commands that have no description should be removed from the results- Returns:
- The help entries
-
getAll
- Returns:
- All available help entries
-