net.jetrix.commands
Class VersionCommand

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

public class VersionCommand
extends AbstractCommand

Display the version of the server.

Version:
$Revision: 599 $, $Date: 2005-01-17 21:57:21 +0100 (lun., 17 janv. 2005) $
Author:
Emmanuel Bourg

Field Summary
 
Fields inherited from class net.jetrix.commands.AbstractCommand
hidden, level, log
 
Constructor Summary
VersionCommand()
           
 
Method Summary
 void execute(CommandMessage m)
          Execute the command.
 String getAlias()
          Return the command alias.
 
Methods inherited from class net.jetrix.commands.AbstractCommand
getAccessLevel, getAliases, 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

VersionCommand

public VersionCommand()
Method Detail

getAlias

public String getAlias()
Description copied from class: AbstractCommand
Return the command alias. This is a method to be overriden only by commands with a unique alias.

Overrides:
getAlias 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.