Class AbstractCommand

java.lang.Object
sawfowl.regionguard.commands.abstractcommands.AbstractCommand
All Implemented Interfaces:
org.spongepowered.api.command.Command, org.spongepowered.api.command.Command.Raw, sawfowl.commandpack.api.commands.PluginCommand, sawfowl.commandpack.api.commands.raw.RawCommand
Direct Known Subclasses:
AbstractPlayerCommand, Blocks, Buy, Claims, Limits, ListRegions, Members, Region, Sell, Set, Subdivisions

public abstract class AbstractCommand extends Object implements sawfowl.commandpack.api.commands.raw.RawCommand
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.spongepowered.api.command.Command

    org.spongepowered.api.command.Command.Builder, org.spongepowered.api.command.Command.Parameterized, org.spongepowered.api.command.Command.Raw
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final RegionGuard
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract List<sawfowl.commandpack.api.commands.raw.arguments.RawArgument<?>>
     
    Map<Integer,sawfowl.commandpack.api.commands.raw.arguments.RawArgument<?>>
     
    Map<String,sawfowl.commandpack.api.commands.raw.RawCommand>
     
    abstract List<sawfowl.commandpack.api.commands.raw.RawCommand>
     
    sawfowl.commandpack.api.data.command.Settings
     
    net.kyori.adventure.text.Component
     
    org.spongepowered.plugin.PluginContainer
     
    List<org.spongepowered.api.command.CommandCompletion>
     
    net.kyori.adventure.text.Component
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.spongepowered.api.command.Command

    help, usage

    Methods inherited from interface sawfowl.commandpack.api.commands.PluginCommand

    checkCooldown, command, delay, economy, exception, exception, exception, exception, exception, exception, exception, exception, getComponent, getComponent, getCooldowns, getListTexts, getLocale, getPluginLocale, getText, getText, isEnable, permission, sendPaginationList, success, text, text, timeFormat, trackingName

    Methods inherited from interface sawfowl.commandpack.api.commands.raw.RawCommand

    canExecute, checkArguments, checkChildAndArguments, commandTree, complete, completeArgs, completeChild, containsArgs, containsChild, enableAutoComplete, exceptionAppendUsage, exceptionAppendUsage, extendedDescription, extendedDescription, getArgument, getArgument, getArgument, getBigDecimal, getBigDecimal, getBoolean, getBoolean, getCurrency, getCurrency, getDouble, getDouble, getDurationArg, getDurationArg, getEnchantmentType, getEnchantmentType, getInteger, getInteger, getLocale, getLocale, getLong, getLong, getPlayer, getPlayer, getString, getString, getWorld, getWorld, getWorldType, getWorldType, parseDouble, parseDuration, parseInt, process, process, register, shortDescription
  • Field Details

  • Constructor Details

    • AbstractCommand

      public AbstractCommand(RegionGuard regionGuard)
  • Method Details

    • getChilds

      public abstract List<sawfowl.commandpack.api.commands.raw.RawCommand> getChilds()
    • getArgs

      public abstract List<sawfowl.commandpack.api.commands.raw.arguments.RawArgument<?>> getArgs()
    • getCommandSettings

      public sawfowl.commandpack.api.data.command.Settings getCommandSettings()
      Specified by:
      getCommandSettings in interface sawfowl.commandpack.api.commands.PluginCommand
    • getComponent

      public net.kyori.adventure.text.Component getComponent(Object[] path)
      Specified by:
      getComponent in interface sawfowl.commandpack.api.commands.PluginCommand
    • getContainer

      public org.spongepowered.plugin.PluginContainer getContainer()
      Specified by:
      getContainer in interface sawfowl.commandpack.api.commands.PluginCommand
    • getEmptyCompletion

      public List<org.spongepowered.api.command.CommandCompletion> getEmptyCompletion()
      Specified by:
      getEmptyCompletion in interface sawfowl.commandpack.api.commands.raw.RawCommand
    • getChildExecutors

      public Map<String,sawfowl.commandpack.api.commands.raw.RawCommand> getChildExecutors()
      Specified by:
      getChildExecutors in interface sawfowl.commandpack.api.commands.raw.RawCommand
    • getArguments

      public Map<Integer,sawfowl.commandpack.api.commands.raw.arguments.RawArgument<?>> getArguments()
      Specified by:
      getArguments in interface sawfowl.commandpack.api.commands.raw.RawCommand
    • shortDescription

      public net.kyori.adventure.text.Component shortDescription(Locale locale)
      Specified by:
      shortDescription in interface sawfowl.commandpack.api.commands.raw.RawCommand