Class CommandArgs

java.lang.Object
io.github.mqzn.commands.base.context.CommandArgs
All Implemented Interfaces:
Iterable<String>

public final class CommandArgs extends Object implements Iterable<String>
  • Method Details

    • create

      public static <S> CommandArgs create(Context<S> context)
    • getRaw

      @Nullable public @Nullable String getRaw(int index)
    • getAfterRaw

      @Nullable public @Nullable String getAfterRaw(String raw)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • iterator

      @NotNull public @NotNull Iterator<String> iterator()
      Returns an iterator over elements of type T.
      Specified by:
      iterator in interface Iterable<String>
      Returns:
      an Iterator.