Package org.wildfly.security.tool.help
Class CommandsSection
- java.lang.Object
-
- org.wildfly.security.tool.help.HelpSection
-
- org.wildfly.security.tool.help.CommandsSection
-
public class CommandsSection extends HelpSection
Command section of Elytron help command- Author:
- Petr Beran
-
-
Constructor Summary
Constructors Constructor Description CommandsSection(Map<String,String> commands)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidformatAndPrintCommand(String commandName, CharSequence commandDescription, int longestCommand)Formats and prints command and it's respective descriptionvoidprintHelp()Displays help of specific section-
Methods inherited from class org.wildfly.security.tool.help.HelpSection
appendGap, checkForWhitespaceIndex, formatAndPrintSectionContext, formatAndPrintTitle
-
-
-
-
Method Detail
-
printHelp
public void printHelp()
Description copied from class:HelpSectionDisplays help of specific section- Specified by:
printHelpin classHelpSection
-
formatAndPrintCommand
protected void formatAndPrintCommand(String commandName, CharSequence commandDescription, int longestCommand)
Formats and prints command and it's respective description- Parameters:
commandName- Command's namecommandDescription- Command's descriptionlongestCommand- Length of the longest commands. Ensures that all descriptions start at the same column
-
-