public class CommaSeparatedValuesConverter<T>
extends java.lang.Object
implements org.enginehub.piston.converter.ArgumentConverter<T>
Modifier and Type | Method and Description |
---|---|
org.enginehub.piston.converter.ConversionResult<T> |
convert(java.lang.String argument,
org.enginehub.piston.inject.InjectedValueAccess context) |
com.sk89q.worldedit.util.formatting.text.Component |
describeAcceptableArguments() |
java.util.List<java.lang.String> |
getSuggestions(java.lang.String input,
org.enginehub.piston.inject.InjectedValueAccess context) |
static <T> CommaSeparatedValuesConverter<T> |
wrap(org.enginehub.piston.converter.ArgumentConverter<T> delegate) |
static <T> CommaSeparatedValuesConverter<T> |
wrapAndLimit(org.enginehub.piston.converter.ArgumentConverter<T> delegate,
int maximum) |
public static <T> CommaSeparatedValuesConverter<T> wrap(org.enginehub.piston.converter.ArgumentConverter<T> delegate)
public static <T> CommaSeparatedValuesConverter<T> wrapAndLimit(org.enginehub.piston.converter.ArgumentConverter<T> delegate, int maximum)
public com.sk89q.worldedit.util.formatting.text.Component describeAcceptableArguments()
describeAcceptableArguments
in interface org.enginehub.piston.converter.ArgumentConverter<T>
public java.util.List<java.lang.String> getSuggestions(java.lang.String input, org.enginehub.piston.inject.InjectedValueAccess context)
getSuggestions
in interface org.enginehub.piston.converter.ArgumentConverter<T>
getSuggestions
in interface org.enginehub.piston.converter.SuggestionProvider