org.monstercraft.irc.managers
Class HookManager

java.lang.Object
  extended by org.monstercraft.irc.managers.HookManager

public class HookManager
extends java.lang.Object

This class manages all of the hooks used within the plugin.

Author:
fletch_to_99

Constructor Summary
HookManager(IRC plugin)
          Creates an instance of the HookManager class.
 
Method Summary
 com.herocraftonline.dthielke.herochat.HeroChat getHeroChatHook()
          Fetches the HeroChat hook.
 com.gmail.nossr50.mcMMO getmcMMOHook()
          Fetches the mcMMO hook.
 com.nijikokun.bukkit.Permissions.Permissions getPermissionsHook()
          Fetches the Permissions hook.
 HeroChatHook setHeroChatHook(HeroChatHook hook)
          Creates a new hook into the plugin.
 mcMMOHook setmcMMOHook(mcMMOHook hook)
          Creates a new hook into the plugin.
 PermissionsHook setPermissionsHook(PermissionsHook hook)
          Creates a new hook into the plugin.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HookManager

public HookManager(IRC plugin)
Creates an instance of the HookManager class.

Parameters:
plugin - The parent plugin.
Method Detail

getHeroChatHook

public com.herocraftonline.dthielke.herochat.HeroChat getHeroChatHook()
Fetches the HeroChat hook.

Returns:
The hook into HeroChat.

getmcMMOHook

public com.gmail.nossr50.mcMMO getmcMMOHook()
Fetches the mcMMO hook.

Returns:
The hook into mcMMO.

getPermissionsHook

public com.nijikokun.bukkit.Permissions.Permissions getPermissionsHook()
Fetches the Permissions hook.

Returns:
The hook into Permissions.

setHeroChatHook

public HeroChatHook setHeroChatHook(HeroChatHook hook)
Creates a new hook into the plugin.

Parameters:
hook - A hook into HeroChat.
Returns:
The new HeroChatHook.

setmcMMOHook

public mcMMOHook setmcMMOHook(mcMMOHook hook)
Creates a new hook into the plugin.

Parameters:
hook - A hook into mcMMO.
Returns:
The new mcMMOHook.

setPermissionsHook

public PermissionsHook setPermissionsHook(PermissionsHook hook)
Creates a new hook into the plugin.

Parameters:
hook - A hook into Permissions.
Returns:
The new PermissionsHook.