com.quartercode.quarterbukkit.api.command
Interface CommandHandler


public interface CommandHandler

Interface for CommandHandlers which executes commands.


Method Summary
 void execute(Command command)
          Executes a Command.
 CommandInfo getInfo()
          Returns a CommandInfo-object which contains some information about the CommandHandler.
 

Method Detail

getInfo

CommandInfo getInfo()
Returns a CommandInfo-object which contains some information about the CommandHandler.

Returns:
The information-object as CommandInfo.

execute

void execute(Command command)
Executes a Command.

Parameters:
command - The Command to execute.