| Package | Description |
|---|---|
| com.sk89q.intake.parametric.binding | |
| com.sk89q.intake.parametric.handler |
| 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> |
BindingHelper.getSuggestions(ParameterData parameter,
String prefix) |
List<String> |
Binding.getSuggestions(ParameterData parameter,
String prefix)
Get a list of suggestions for the given parameter and user arguments.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InvokeHandler.postInvoke(Object object,
Method method,
ParameterData[] parameters,
Object[] args,
CommandContext context,
CommandLocals locals)
Called after the parameter is invoked.
|
void |
LegacyCommandsHandler.postInvoke(Object object,
Method method,
ParameterData[] parameters,
Object[] args,
CommandContext context,
CommandLocals locals) |
boolean |
InvokeHandler.preInvoke(Object object,
Method method,
ParameterData[] parameters,
Object[] args,
CommandContext context,
CommandLocals locals)
Called before the parameter is invoked.
|
boolean |
LegacyCommandsHandler.preInvoke(Object object,
Method method,
ParameterData[] parameters,
Object[] args,
CommandContext context,
CommandLocals locals) |
boolean |
InvokeHandler.preProcess(Object object,
Method method,
ParameterData[] parameters,
CommandContext context,
CommandLocals locals)
Called before parameters are processed.
|
boolean |
LegacyCommandsHandler.preProcess(Object object,
Method method,
ParameterData[] parameters,
CommandContext context,
CommandLocals locals) |
void |
InvokeListener.updateDescription(Object object,
Method method,
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(Object object,
Method method,
ParameterData[] parameters,
SettableDescription description) |
void |
AbstractInvokeListener.updateDescription(Object object,
Method method,
ParameterData[] parameters,
SettableDescription description) |
Copyright © 2015. All Rights Reserved.