Class DocBookCommandHelpPrinter
- java.lang.Object
-
- org.apache.karaf.tooling.commands.AbstractCommandHelpPrinter
-
- org.apache.karaf.tooling.commands.DocBookCommandHelpPrinter
-
- All Implemented Interfaces:
CommandHelpPrinter
public class DocBookCommandHelpPrinter extends AbstractCommandHelpPrinter
Prints documentation in docbook syntax
-
-
Constructor Summary
Constructors Constructor Description DocBookCommandHelpPrinter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprintHelp(org.apache.karaf.shell.api.action.Action action, PrintStream out, boolean includeHelpOption)Print help for a single action to the out stream.voidprintOverview(Map<String,Set<String>> commands, PrintStream writer)Print the overview of all given commands to the out stream.-
Methods inherited from class org.apache.karaf.tooling.commands.AbstractCommandHelpPrinter
getDefaultValue, getDefaultValueString, replaceDefaultArgument
-
-
-
-
Method Detail
-
printHelp
public void printHelp(org.apache.karaf.shell.api.action.Action action, PrintStream out, boolean includeHelpOption)Description copied from interface:CommandHelpPrinterPrint help for a single action to the out stream.- Parameters:
action- The commandAction.out- The stream where to print the help.includeHelpOption- True to include the help option in the doc, false else.
-
printOverview
public void printOverview(Map<String,Set<String>> commands, PrintStream writer)
Description copied from interface:CommandHelpPrinterPrint the overview of all given commands to the out stream.- Parameters:
commands- TheMapof commands to consider in the overview.writer- The stream where to write the overview.
-
-