@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public @interface Provider
This allows you to customize argument parsing and/or tab completion for a specific parameter, overriding the default provider registered for the parameter's type.
| Modifier and Type | Required Element and Description |
|---|---|
@NotNull java.lang.Class<? extends ArgumentProvider<?>> |
value
The argument provider class to use.
|
| Modifier and Type | Optional Element and Description |
|---|---|
@NotNull Provider.Scope |
scope
The scope of the override.
|
@NotNull public abstract @NotNull java.lang.Class<? extends ArgumentProvider<?>> value
@NotNull public abstract @NotNull Provider.Scope scope
Provider.Scope.BOTH)