| Package | Description |
|---|---|
| com.sk89q.intake.parametric | |
| com.sk89q.intake.parametric.binding | |
| com.sk89q.intake.parametric.handler |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<ParameterData<T>> |
ParameterBinder.getParameters()
Get an immutable list of parameters added.
|
protected List<? extends ParameterData<?>> |
AbstractParametricCommand.getParameters()
Get the parameters that have been set.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractParametricCommand.setParameters(List<? extends ParameterData<?>> parameters)
Set the parameters that have been set.
|
| Constructor and Description |
|---|
ParameterConsumer(List<? extends ParameterData<?>> parameters)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
BindingHelper.bind(ParameterData<?> parameter,
ArgumentStack scoped,
boolean onlyConsume) |
Object |
Binding.bind(ParameterData<?> parameter,
ArgumentStack scoped,
boolean onlyConsume)
Attempt to consume values (if required) from the given
ArgumentStack
in order to instantiate an object for the given parameter. |
BindingBehavior |
BindingHelper.getBehavior(ParameterData<?> parameter) |
BindingBehavior |
Binding.getBehavior(ParameterData<?> parameter)
Get how this binding consumes from a
ArgumentStack. |
int |
BindingHelper.getConsumedCount(ParameterData<?> parameter) |
int |
Binding.getConsumedCount(ParameterData<?> parameter)
Get the number of arguments that this binding will consume, if this
information is available.
|
List<String> |
Binding.getSuggestions(ParameterData<?> parameter,
String prefix)
Get a list of suggestions for the given parameter and user arguments.
|
List<String> |
BindingHelper.getSuggestions(ParameterData parameter,
String prefix) |
| Modifier and Type | Method and Description |
|---|---|
void |
InvokeHandler.postInvoke(Set<Annotation> annotations,
List<? extends ParameterData<?>> parameters,
Object[] args,
CommandContext context)
Called after the parameter is invoked.
|
void |
LegacyCommandsHandler.postInvoke(Set<Annotation> annotations,
List<? extends ParameterData<?>> parameters,
Object[] args,
CommandContext context) |
boolean |
InvokeHandler.preInvoke(Set<Annotation> annotations,
List<? extends ParameterData<?>> parameters,
Object[] args,
CommandContext context)
Called before the parameter is invoked.
|
boolean |
LegacyCommandsHandler.preInvoke(Set<Annotation> annotations,
List<? extends ParameterData<?>> parameters,
Object[] args,
CommandContext context) |
boolean |
InvokeHandler.preProcess(Set<Annotation> annotations,
List<? extends ParameterData<?>> parameters,
CommandContext context)
Called before parameters are processed.
|
boolean |
LegacyCommandsHandler.preProcess(Set<Annotation> annotations,
List<? extends ParameterData<?>> parameters,
CommandContext context) |
void |
InvokeListener.updateDescription(Set<Annotation> annotations,
List<? extends ParameterData<?>> parameters,
SettableDescription description)
During creation of a
CommandCallable by a ParametricBuilder,
this will be called in case the description needs to be updated. |
void |
LegacyCommandsHandler.updateDescription(Set<Annotation> annotations,
List<? extends ParameterData<?>> parameters,
SettableDescription description) |
void |
AbstractInvokeListener.updateDescription(Set<Annotation> annotations,
List<? extends ParameterData<?>> parameters,
SettableDescription description) |
Copyright © 2015. All Rights Reserved.