Package co.aikar.commands
Class CommandHelpFormatter
java.lang.Object
co.aikar.commands.CommandHelpFormatter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getEntryFormatReplacements(CommandHelp help, HelpEntry entry) Override this to control replacementsString[]Override this to control replacements@NotNull String[]getParameterFormatReplacements(CommandHelp help, CommandParameter param, HelpEntry entry) Override this to control replacementsvoidprintDetailedHelpCommand(CommandHelp help, CommandIssuer issuer, HelpEntry entry) voidprintDetailedHelpFooter(CommandHelp help, CommandIssuer issuer, HelpEntry entry) voidprintDetailedHelpHeader(CommandHelp help, CommandIssuer issuer, HelpEntry entry) voidprintDetailedParameter(CommandHelp help, CommandIssuer issuer, HelpEntry entry, CommandParameter param) voidprintHelpCommand(CommandHelp help, CommandIssuer issuer, HelpEntry entry) voidprintHelpFooter(CommandHelp help, CommandIssuer issuer) voidprintHelpHeader(CommandHelp help, CommandIssuer issuer) voidprintSearchEntry(CommandHelp help, CommandIssuer issuer, HelpEntry page) voidprintSearchFooter(CommandHelp help, CommandIssuer issuer) voidprintSearchHeader(CommandHelp help, CommandIssuer issuer) voidshowAllResults(CommandHelp commandHelp, List<HelpEntry> entries) voidshowDetailedHelp(CommandHelp commandHelp, HelpEntry entry) voidshowSearchResults(CommandHelp commandHelp, List<HelpEntry> entries)
-
Constructor Details
-
CommandHelpFormatter
-
-
Method Details
-
showAllResults
-
showSearchResults
-
showDetailedHelp
-
printHelpHeader
-
printHelpCommand
-
printSearchHeader
-
printSearchEntry
-
printDetailedHelpHeader
-
printDetailedHelpCommand
-
printDetailedParameter
public void printDetailedParameter(CommandHelp help, CommandIssuer issuer, HelpEntry entry, CommandParameter param) -
getEntryFormatReplacements
Override this to control replacements- Parameters:
help-entry-- Returns:
-
getParameterFormatReplacements
@NotNull public @NotNull String[] getParameterFormatReplacements(CommandHelp help, CommandParameter param, HelpEntry entry) Override this to control replacements- Parameters:
help-param-entry-- Returns:
-