public abstract static class Event.Parameter<T extends Token.Literal,D extends ParameterDescriptor> extends Event
Event.Argument, Event.Option, Event.Parameter<T extends Token.Literal,D extends ParameterDescriptor>, Event.Separator, Event.Stop, Event.Subordinate
Modifier and Type | Field and Description |
---|---|
protected CommandDescriptor<?> |
command
.
|
protected D |
parameter
.
|
protected List<T> |
values
.
|
Constructor and Description |
---|
Event.Parameter(CommandDescriptor<?> command,
D parameter,
List<T> values) |
Modifier and Type | Method and Description |
---|---|
CommandDescriptor<?> |
getCommand() |
abstract int |
getFrom() |
D |
getParameter() |
List<String> |
getStrings() |
abstract int |
getTo() |
List<T> |
getValues() |
T |
peekFirst() |
T |
peekLast() |
String |
toString() |
protected final CommandDescriptor<?> command
protected final D extends ParameterDescriptor parameter
protected final List<T extends Token.Literal> values
public Event.Parameter(CommandDescriptor<?> command, D parameter, List<T> values)
public CommandDescriptor<?> getCommand()
public final D getParameter()
public final List<String> getStrings()
public abstract int getFrom()
public abstract int getTo()
Copyright © 2015 eXo Platform SAS. All Rights Reserved.