Class CommandRegistration.DefaultAliasSpec
java.lang.Object
org.springframework.shell.command.CommandRegistration.DefaultAliasSpec
- All Implemented Interfaces:
CommandRegistration.AliasSpec
- Enclosing interface:
- CommandRegistration
public static class CommandRegistration.DefaultAliasSpec
extends Object
implements CommandRegistration.AliasSpec
-
Method Summary
Modifier and TypeMethodDescriptionand()
Return a builder for chaining.Define commands for an alias.Define group for an alias.
-
Method Details
-
command
Description copied from interface:CommandRegistration.AliasSpec
Define commands for an alias.- Specified by:
command
in interfaceCommandRegistration.AliasSpec
- Parameters:
commands
- the commands- Returns:
- a target spec for chaining
-
group
Description copied from interface:CommandRegistration.AliasSpec
Define group for an alias.- Specified by:
group
in interfaceCommandRegistration.AliasSpec
- Parameters:
group
- the group- Returns:
- a target spec for chaining
-
and
Description copied from interface:CommandRegistration.AliasSpec
Return a builder for chaining.- Specified by:
and
in interfaceCommandRegistration.AliasSpec
- Returns:
- a builder for chaining
-