Class SelectionParameterInput<V>

java.lang.Object
studio.mevera.imperat.selector.SelectionParameterInput<V>

public final class SelectionParameterInput<V> extends Object
  • 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

      public SelectionField<V> getField()
    • getValue

      public V 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