001 package org.bukkit.command;
002
003 import org.bukkit.plugin.Plugin;
004
005 /**
006 * This interface is used by the help system to group commands into
007 * sub-indexes based on the {@link Plugin} they are a part of. Custom command
008 * implementations will need to implement this interface to have a sub-index
009 * automatically generated on the plugin's behalf.
010 */
011 public interface PluginIdentifiableCommand {
012
013 /**
014 * Gets the owner of this PluginIdentifiableCommand.
015 *
016 * @return Plugin that owns this PluginIdentifiableCommand.
017 */
018 public Plugin getPlugin();
019 }