Newer
Older
ultramine_bukkit / src / main / java / org / bukkit / command / PluginIdentifiableCommand.java
@vlad20012 vlad20012 on 24 Feb 2017 549 bytes initial
package org.bukkit.command;

import org.bukkit.plugin.Plugin;

/**
 * This interface is used by the help system to group commands into
 * sub-indexes based on the {@link Plugin} they are a part of. Custom command
 * implementations will need to implement this interface to have a sub-index
 * automatically generated on the plugin's behalf.
 */
public interface PluginIdentifiableCommand
{

	/**
	 * Gets the owner of this PluginIdentifiableCommand.
	 *
	 * @return Plugin that owns this PluginIdentifiableCommand.
	 */
	public Plugin getPlugin();
}