Package studio.mevera.imperat.selector
Class SelectionParameterInput<V>
java.lang.Object
studio.mevera.imperat.selector.SelectionParameterInput<V>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <V> SelectionParameterInput<V>from(SelectionField<V> field, String input, studio.mevera.imperat.context.Context<BukkitSource> ctx) getField()getValue()static SelectionParameterInput<?>parse(String str, studio.mevera.imperat.context.internal.CommandInputStream<BukkitSource> commandInputStream, studio.mevera.imperat.context.Context<BukkitSource> ctx) static List<SelectionParameterInput<?>>parseAll(String paramsString, studio.mevera.imperat.context.internal.CommandInputStream<BukkitSource> inputStream, studio.mevera.imperat.context.Context<BukkitSource> ctx)
-
Method Details
-
from
public static <V> SelectionParameterInput<V> from(SelectionField<V> field, String input, studio.mevera.imperat.context.Context<BukkitSource> ctx) throws studio.mevera.imperat.exception.ImperatException - Throws:
studio.mevera.imperat.exception.ImperatException
-
getField
-
getValue
-
parse
public static SelectionParameterInput<?> parse(String str, studio.mevera.imperat.context.internal.CommandInputStream<BukkitSource> commandInputStream, studio.mevera.imperat.context.Context<BukkitSource> ctx) throws studio.mevera.imperat.exception.ImperatException - Throws:
studio.mevera.imperat.exception.ImperatException
-
parseAll
public static List<SelectionParameterInput<?>> parseAll(String paramsString, studio.mevera.imperat.context.internal.CommandInputStream<BukkitSource> inputStream, studio.mevera.imperat.context.Context<BukkitSource> ctx) throws studio.mevera.imperat.exception.ImperatException - Throws:
studio.mevera.imperat.exception.ImperatException
-