Class AlpineArgumentResolver<T>

java.lang.Object
dev.rollczi.litecommands.argument.resolver.ArgumentResolver<org.bukkit.command.CommandSender,T>
co.crystaldev.alpinecore.framework.command.AlpineArgumentResolver<T>
All Implemented Interfaces:
Activatable, dev.rollczi.litecommands.argument.parser.Parser<org.bukkit.command.CommandSender,T>, dev.rollczi.litecommands.argument.resolver.ArgumentResolverBase<org.bukkit.command.CommandSender,T>, dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver<org.bukkit.command.CommandSender,T>, dev.rollczi.litecommands.argument.suggester.Suggester<org.bukkit.command.CommandSender,T>, dev.rollczi.litecommands.range.Rangeable<dev.rollczi.litecommands.argument.Argument<T>>

public abstract class AlpineArgumentResolver<T> extends dev.rollczi.litecommands.argument.resolver.ArgumentResolver<org.bukkit.command.CommandSender,T> implements Activatable
Since:
0.3.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
    activate(@NotNull AlpinePlugin context)
    Activate this object.
    final void
    deactivate(@NotNull AlpinePlugin context)
    Deactivate this object.
    boolean
    Is this object active?

    Methods inherited from class dev.rollczi.litecommands.argument.resolver.ArgumentResolver

    canParse, getRange, parse, parse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface co.crystaldev.alpinecore.framework.Activatable

    canDeactivate

    Methods inherited from interface dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver

    suggest

    Methods inherited from interface dev.rollczi.litecommands.argument.parser.Parser

    canParse
  • Constructor Details

    • AlpineArgumentResolver

      public AlpineArgumentResolver()
  • Method Details

    • activate

      public final void activate(@NotNull @NotNull AlpinePlugin context)
      Description copied from interface: Activatable
      Activate this object.
      Specified by:
      activate in interface Activatable
      Parameters:
      context - The plugin which initiated the request
    • deactivate

      public final void deactivate(@NotNull @NotNull AlpinePlugin context)
      Description copied from interface: Activatable
      Deactivate this object.
      Specified by:
      deactivate in interface Activatable
      Parameters:
      context - The plugin which initiated the request
    • isActive

      public boolean isActive()
      Description copied from interface: Activatable
      Is this object active?
      Specified by:
      isActive in interface Activatable
      Returns:
      Whether the object is active