megamek.common
Class GameReports

java.lang.Object
  extended by megamek.common.GameReports
All Implemented Interfaces:
java.io.Serializable

public class GameReports
extends java.lang.Object
implements java.io.Serializable

This class is a container for the various reports created by the server during a game.

See Also:
Serialized Form

Constructor Summary
GameReports()
           
 
Method Summary
 void add(int round, java.util.Vector<Report> v)
           
 void clear()
           
 java.util.Vector<java.util.Vector<Report>> get()
          Get all the reports.
 java.util.Vector<Report> get(int round)
          Get a single round's reports.
 void set(java.util.Vector<java.util.Vector<Report>> v)
          Set the reports vector from outside all at once.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameReports

GameReports()
Method Detail

add

public void add(int round,
                java.util.Vector<Report> v)

get

public java.util.Vector<Report> get(int round)
Get a single round's reports.


get

public java.util.Vector<java.util.Vector<Report>> get()
Get all the reports.


set

public void set(java.util.Vector<java.util.Vector<Report>> v)
Set the reports vector from outside all at once.

Parameters:
v -

clear

public void clear()