Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
PluginIdentifiableCommand.java
1 package org.bukkit.command;
2 
3 import org.bukkit.plugin.Plugin;
4 
5 /**
6  * This interface is used by the help system to group commands into
7  * sub-indexes based on the {@link Plugin} they are a part of. Custom command
8  * implementations will need to implement this interface to have a sub-index
9  * automatically generated on the plugin's behalf.
10  */
11 public interface PluginIdentifiableCommand {
12 
13  /**
14  * Gets the owner of this PluginIdentifiableCommand.
15  *
16  * @return Plugin that owns this PluginIdentifiableCommand.
17  */
18  public Plugin getPlugin();
19 }