Interface CommandTreeNode.StringParser
- All Superinterfaces:
 CommandTreeNode<CommandTreeNode.StringParser>,CommandTreeNode.Argument<CommandTreeNode.StringParser>
- Enclosing interface:
 CommandTreeNode<T extends CommandTreeNode<T>>
public static interface CommandTreeNode.StringParser
extends CommandTreeNode.Argument<CommandTreeNode.StringParser>
A 
CommandTreeNode that allows for the setting of how a string
 based parser will behave. By default, this parser will parse the next
 word, or, if quoted, the quoted string.- 
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.command.registrar.tree.CommandTreeNode
CommandTreeNode.Amount, CommandTreeNode.Argument<T extends CommandTreeNode<T>>, CommandTreeNode.Basic, CommandTreeNode.EntitySelection, CommandTreeNode.NodeFactory, CommandTreeNode.Range<S extends Number>, CommandTreeNode.Root, CommandTreeNode.StringParser - 
Method Summary
Methods inherited from interface org.spongepowered.api.command.registrar.tree.CommandTreeNode
child, child, child, completions, completions, customCompletions, executable, redirect, requires 
- 
Method Details
- 
word
CommandTreeNode.StringParser word()Causes this string parser to only parse the next word.- Returns:
 - This, for chaining.
 
 - 
greedy
CommandTreeNode.StringParser greedy()Causes this string parser to parse the rest of the supplied string.- Returns:
 - This, for chaining.
 
 
 -