Interface Parameter.Subcommand
- 
- All Superinterfaces:
 Parameter
- Enclosing interface:
 - Parameter
 
public static interface Parameter.Subcommand extends Parameter
AParameter.Subcommandrepresents a literal argument where, if parsed, should indicate to the command processor that theCommandExecutorof the command should change. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceParameter.Subcommand.Builder- 
Nested classes/interfaces inherited from interface org.spongepowered.api.command.parameter.Parameter
Parameter.Factory, Parameter.FirstOfBuilder, Parameter.Key<T>, Parameter.Multi, Parameter.SequenceBuilder, Parameter.Subcommand, Parameter.Value<T> 
 - 
 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>aliases()The alias for the subcommand.Command.Parameterizedcommand()The command that is parsed and potentially run when this subcommand is parsed.- 
Methods inherited from interface org.spongepowered.api.command.parameter.Parameter
isOptional, isTerminal 
 - 
 
 - 
 
- 
- 
Method Detail
- 
command
Command.Parameterized command()
The command that is parsed and potentially run when this subcommand is parsed.- Returns:
 - The command to run.
 
 
 - 
 
 -