megamek.server.commands
Class ListSavesCommand

java.lang.Object
  extended by megamek.server.commands.ServerCommand
      extended by megamek.server.commands.ListSavesCommand

public class ListSavesCommand
extends ServerCommand

Lists all the save games in the savegames directory

Version:
Author:
Taharqa

Field Summary
 
Fields inherited from class megamek.server.commands.ServerCommand
server
 
Constructor Summary
ListSavesCommand(Server server)
          Creates new WhoCommand
 
Method Summary
 void run(int connId, java.lang.String[] args)
          Run this command with the arguments supplied
 
Methods inherited from class megamek.server.commands.ServerCommand
canRunRestrictedCommand, getHelp, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListSavesCommand

public ListSavesCommand(Server server)
Creates new WhoCommand

Method Detail

run

public void run(int connId,
                java.lang.String[] args)
Description copied from class: ServerCommand
Run this command with the arguments supplied

Specified by:
run in class ServerCommand