ru.tehkode.permissions.commands
Class CommandsManager.CommandBinding

java.lang.Object
  extended by ru.tehkode.permissions.commands.CommandsManager.CommandBinding
Enclosing class:
CommandsManager

protected class CommandsManager.CommandBinding
extends Object


Field Summary
protected  Method method
           
protected  Object object
           
protected  Map<String,String> params
           
 
Constructor Summary
CommandsManager.CommandBinding(Object object, Method method)
           
 
Method Summary
 void call(Object... args)
           
 boolean checkPermissions(org.bukkit.entity.Player player)
           
 Command getMethodAnnotation()
           
 Map<String,String> getParams()
           
protected  boolean isOR(String permission)
           
 void setParams(Map<String,String> params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

object

protected Object object

method

protected Method method

params

protected Map<String,String> params
Constructor Detail

CommandsManager.CommandBinding

public CommandsManager.CommandBinding(Object object,
                                      Method method)
Method Detail

getMethodAnnotation

public Command getMethodAnnotation()

getParams

public Map<String,String> getParams()

setParams

public void setParams(Map<String,String> params)

checkPermissions

public boolean checkPermissions(org.bukkit.entity.Player player)

isOR

protected boolean isOR(String permission)

call

public void call(Object... args)
          throws Exception
Throws:
Exception


Copyright © 2011. All Rights Reserved.