Class Help
java.lang.Object
org.springframework.shell.core.command.AbstractCommand
org.springframework.shell.core.command.Help
- All Implemented Interfaces:
Command
A command to display help about all available commands.
- Author:
- Eric Bottard, Janne Valkealahti, Piotr Olaszewski, Mahmoud Ben Hassine
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.shell.core.command.Command
Command.Builder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoExecute(CommandContext commandContext) getHelp()Get the help text of the command.Methods inherited from class org.springframework.shell.core.command.AbstractCommand
equals, execute, getAliases, getAvailabilityProvider, getCompletionProvider, getDescription, getExitStatusExceptionMapper, getGroup, getName, getOptions, hashCode, isHelp, isHidden, println, setAliases, setAvailabilityProvider, setCompletionProvider, setExitStatusExceptionMapper, setOptions
-
Constructor Details
-
Help
public Help()
-
-
Method Details
-
getHelp
Description copied from interface:CommandGet the help text of the command.- Specified by:
getHelpin interfaceCommand- Overrides:
getHelpin classAbstractCommand- Returns:
- the help text of the command
-
doExecute
- Specified by:
doExecutein classAbstractCommand- Throws:
Exception
-