Package org.spongepowered.api.command
Interface Command.Raw
-
- All Superinterfaces:
Command
- Enclosing interface:
- Command
public static interface Command.Raw extends Command
A raw command that also contains aCommandTreeNode
to provide hints to the client for command completion.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.command.Command
Command.Builder, Command.Parameterized, Command.Raw
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default CommandTreeNode.Root
commandTree()
Gets theCommandTreeNode
that represents the argument pattern for this command.-
Methods inherited from interface org.spongepowered.api.command.Command
canExecute, complete, extendedDescription, help, process, shortDescription, usage
-
-
-
-
Method Detail
-
commandTree
default CommandTreeNode.Root commandTree()
Gets theCommandTreeNode
that represents the argument pattern for this command.Defaults to a command with an optional string argument string that is greedy.
- Returns:
- The tree.
-
-