java.lang.Object
net.apartium.cocoabeans.commands.parsers.ArgumentParser<T>
net.apartium.cocoabeans.commands.parsers.ContextualMapBasedParser<T>
net.apartium.cocoabeans.commands.parsers.MapBasedParser<org.bukkit.plugin.Plugin>
net.apartium.cocoabeans.commands.spigot.parsers.PluginParser
All Implemented Interfaces:
Comparable<net.apartium.cocoabeans.commands.parsers.ArgumentParser<?>>

@AvailableSince("0.0.39") public class PluginParser extends net.apartium.cocoabeans.commands.parsers.MapBasedParser<org.bukkit.plugin.Plugin>
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.apartium.cocoabeans.commands.parsers.ArgumentParser

    net.apartium.cocoabeans.commands.parsers.ArgumentParser.ParseResult<T extends Object>, net.apartium.cocoabeans.commands.parsers.ArgumentParser.TabCompletionResult
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    PluginParser(int priority)
     
    PluginParser(String keyword, int priority)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<String,org.bukkit.plugin.Plugin>
     

    Methods inherited from class net.apartium.cocoabeans.commands.parsers.MapBasedParser

    getMap

    Methods inherited from class net.apartium.cocoabeans.commands.parsers.ContextualMapBasedParser

    createNoSuchElementResponse, parse, tabCompletion, tryParse

    Methods inherited from class net.apartium.cocoabeans.commands.parsers.ArgumentParser

    compareTo, getArgumentType, getKeyword, getPriority, isSupportMultipleArguments

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • PluginParser

      public PluginParser(String keyword, int priority)
    • PluginParser

      public PluginParser(int priority)
  • Method Details

    • getMap

      public Map<String,org.bukkit.plugin.Plugin> getMap()
      Specified by:
      getMap in class net.apartium.cocoabeans.commands.parsers.MapBasedParser<org.bukkit.plugin.Plugin>