Interface Parameter.Subcommand
- All Superinterfaces:
- Parameter
- Enclosing interface:
- Parameter
A 
Parameter.Subcommand represents a literal argument where, if parsed, should
 indicate to the command processor that the
 CommandExecutor of the command
 should change.- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface org.spongepowered.api.command.parameter.ParameterParameter.Factory, Parameter.FirstOfBuilder, Parameter.Key<T>, Parameter.Multi, Parameter.SequenceBuilder, Parameter.Subcommand, Parameter.Value<T>
- 
Method SummaryMethods inherited from interface org.spongepowered.api.command.parameter.ParameterisOptional, isTerminal
- 
Method Details- 
commandCommand.Parameterized command()The command that is parsed and potentially run when this subcommand is parsed.- Returns:
- The command to run.
 
- 
aliasesThe alias for the subcommand.- Returns:
- The subcommand.
 
 
-