Class CommandRegistration.HelpOptionInfo.DefaultHelpOptionInfo
java.lang.Object
org.springframework.shell.command.CommandRegistration.HelpOptionInfo.DefaultHelpOptionInfo
- All Implemented Interfaces:
CommandRegistration.HelpOptionInfo
- Enclosing interface:
- CommandRegistration.HelpOptionInfo
public static class CommandRegistration.HelpOptionInfo.DefaultHelpOptionInfo
extends Object
implements CommandRegistration.HelpOptionInfo
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.shell.command.CommandRegistration.HelpOptionInfo
CommandRegistration.HelpOptionInfo.DefaultHelpOptionInfo
-
Constructor Summary
ConstructorDescriptionDefaultHelpOptionInfo
(boolean enabled, String[] longNames, Character[] shortNames, String command) -
Method Summary
Modifier and TypeMethodDescriptionGets command for help.String[]
Gets long names options for help.Gets short names options for help.boolean
Gets whether help options are enabled.
-
Constructor Details
-
DefaultHelpOptionInfo
-
-
Method Details
-
isEnabled
public boolean isEnabled()Description copied from interface:CommandRegistration.HelpOptionInfo
Gets whether help options are enabled.- Specified by:
isEnabled
in interfaceCommandRegistration.HelpOptionInfo
- Returns:
- whether help options are enabled
-
getLongNames
Description copied from interface:CommandRegistration.HelpOptionInfo
Gets long names options for help.- Specified by:
getLongNames
in interfaceCommandRegistration.HelpOptionInfo
- Returns:
- long names options for help
-
getShortNames
Description copied from interface:CommandRegistration.HelpOptionInfo
Gets short names options for help.- Specified by:
getShortNames
in interfaceCommandRegistration.HelpOptionInfo
- Returns:
- short names options for help
-
getCommand
Description copied from interface:CommandRegistration.HelpOptionInfo
Gets command for help.- Specified by:
getCommand
in interfaceCommandRegistration.HelpOptionInfo
- Returns:
- command for help
-