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.CommandContext<BukkitCommandSource> ctx) getField()getValue()static SelectionParameterInput<?>parse(String expression, studio.mevera.imperat.context.internal.Cursor<BukkitCommandSource> cursor, studio.mevera.imperat.context.CommandContext<BukkitCommandSource> ctx) static List<SelectionParameterInput<?>>parseAll(String paramsString, studio.mevera.imperat.context.internal.Cursor<BukkitCommandSource> inputStream, studio.mevera.imperat.context.CommandContext<BukkitCommandSource> ctx)
-
Method Details
-
from
public static <V> SelectionParameterInput<V> from(SelectionField<V> field, String input, studio.mevera.imperat.context.CommandContext<BukkitCommandSource> ctx) throws studio.mevera.imperat.exception.CommandException - Throws:
studio.mevera.imperat.exception.CommandException
-
parse
public static SelectionParameterInput<?> parse(String expression, studio.mevera.imperat.context.internal.Cursor<BukkitCommandSource> cursor, studio.mevera.imperat.context.CommandContext<BukkitCommandSource> ctx) throws studio.mevera.imperat.exception.CommandException - Throws:
studio.mevera.imperat.exception.CommandException
-
parseAll
public static List<SelectionParameterInput<?>> parseAll(String paramsString, studio.mevera.imperat.context.internal.Cursor<BukkitCommandSource> inputStream, studio.mevera.imperat.context.CommandContext<BukkitCommandSource> ctx) throws studio.mevera.imperat.exception.CommandException - Throws:
studio.mevera.imperat.exception.CommandException
-
getField
-
getValue
-