net.jetrix.commands
Class ListCommand

java.lang.Object
  extended by net.jetrix.commands.AbstractCommand
      extended by net.jetrix.commands.ListCommand
All Implemented Interfaces:
Command

public class ListCommand
extends AbstractCommand

List available channels.

Version:
$Revision: 475 $, $Date: 2004-12-09 13:35:20 +0100 (jeu., 09 déc. 2004) $
Author:
Emmanuel Bourg

Field Summary
 
Fields inherited from class net.jetrix.commands.AbstractCommand
hidden, level, log
 
Constructor Summary
ListCommand()
           
 
Method Summary
 void execute(CommandMessage m)
          Execute the command.
 String[] getAliases()
          Return the different names available to invoke this command.
 
Methods inherited from class net.jetrix.commands.AbstractCommand
getAccessLevel, getAlias, getDescription, getUsage, isHidden, setAccessLevel, setHidden
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListCommand

public ListCommand()
Method Detail

getAliases

public String[] getAliases()
Description copied from interface: Command
Return the different names available to invoke this command. An alias doesn't contain the leading character used to call a command ("/" or "!"). The first alias in the array is the default name that will be displayed in the /help list.

Specified by:
getAliases in interface Command
Overrides:
getAliases in class AbstractCommand

execute

public void execute(CommandMessage m)
Description copied from interface: Command
Execute the command.



Copyright © 2001-2008 Emmanuel Bourg. All Rights Reserved.