ru.tehkode.permissions.commands
Class CommandsManager

java.lang.Object
  extended by ru.tehkode.permissions.commands.CommandsManager

public class CommandsManager
extends Object

Author:
code

Nested Class Summary
protected  class CommandsManager.CommandBinding
           
protected  class CommandsManager.CommandSyntax
           
 
Field Summary
protected  List<org.bukkit.plugin.Plugin> helpPlugins
           
protected  Map<String,Map<CommandsManager.CommandSyntax,CommandsManager.CommandBinding>> listeners
           
protected static Logger logger
           
protected  org.bukkit.plugin.Plugin plugin
           
 
Constructor Summary
CommandsManager(org.bukkit.plugin.Plugin plugin)
           
 
Method Summary
 boolean execute(org.bukkit.command.CommandSender sender, org.bukkit.command.Command command, String[] args)
           
protected  void findCommandHelpPlugins()
           
 void register(CommandListener listener)
           
protected  void registerCommandHelp(Command command)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final Logger logger

listeners

protected Map<String,Map<CommandsManager.CommandSyntax,CommandsManager.CommandBinding>> listeners

plugin

protected org.bukkit.plugin.Plugin plugin

helpPlugins

protected List<org.bukkit.plugin.Plugin> helpPlugins
Constructor Detail

CommandsManager

public CommandsManager(org.bukkit.plugin.Plugin plugin)
Method Detail

register

public void register(CommandListener listener)

execute

public boolean execute(org.bukkit.command.CommandSender sender,
                       org.bukkit.command.Command command,
                       String[] args)

findCommandHelpPlugins

protected void findCommandHelpPlugins()

registerCommandHelp

protected void registerCommandHelp(Command command)


Copyright © 2011. All Rights Reserved.