cdx.scorebot.app.reporter
Class TeamReportingInfo

java.lang.Object
  extended by cdx.scorebot.app.reporter.TeamReportingInfo

public class TeamReportingInfo
extends java.lang.Object

Holds some basic information used for reporting a team's stats

Author:
David Underhill

Constructor Summary
TeamReportingInfo(NetworkTestPackage ntp)
          Defines where ScoreEvents are read from and where stats in HTML files are outputted too.
TeamReportingInfo(NetworkTestPackage ntp, java.lang.String comments)
          Defines where ScoreEvents are read from and where stats in HTML files are outputted too.
TeamReportingInfo(NetworkTestPackage ntp, java.lang.String name, java.lang.String desc, java.lang.String inputPath, java.lang.String comments)
          Defines where ScoreEvents are read from and where stats in HTML files are outputted too.
 
Method Summary
 java.lang.String getComments()
          gets the comments for this team
 java.lang.String getDesc()
          gets the description to include with this team
 java.lang.String getInputPath()
          gets the path to input from
 NetworkTestPackage getNTP()
           
 java.lang.String getTeamName()
          gets the name of the team this is for
 void setComments(java.lang.String comments)
          sets the comments for this team
 void setInputPath(java.lang.String inputPath)
          sets the path to input from
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TeamReportingInfo

public TeamReportingInfo(NetworkTestPackage ntp)
                  throws com.thoughtworks.xstream.core.BaseException,
                         java.io.FileNotFoundException
Defines where ScoreEvents are read from and where stats in HTML files are outputted too. The specified templates are used.

Parameters:
ntp - the configuration to generate statistics for (used to construct the input and output paths)
Throws:
com.thoughtworks.xstream.core.BaseException
java.io.FileNotFoundException

TeamReportingInfo

public TeamReportingInfo(NetworkTestPackage ntp,
                         java.lang.String comments)
                  throws com.thoughtworks.xstream.core.BaseException,
                         java.io.FileNotFoundException
Defines where ScoreEvents are read from and where stats in HTML files are outputted too. The specified templates are used.

Parameters:
ntp - the configuration to generate statistics for (used to construct the input and output paths)
Throws:
com.thoughtworks.xstream.core.BaseException
java.io.FileNotFoundException

TeamReportingInfo

public TeamReportingInfo(NetworkTestPackage ntp,
                         java.lang.String name,
                         java.lang.String desc,
                         java.lang.String inputPath,
                         java.lang.String comments)
                  throws com.thoughtworks.xstream.core.BaseException,
                         java.io.FileNotFoundException
Defines where ScoreEvents are read from and where stats in HTML files are outputted too. The specified templates are used.

Parameters:
name - the name of the team
desc - description of the configuration
inputPath - path to read ScoreEvent files from
comments - info about this team's performance
Throws:
com.thoughtworks.xstream.core.BaseException
java.io.FileNotFoundException
Method Detail

getTeamName

public java.lang.String getTeamName()
gets the name of the team this is for


getDesc

public java.lang.String getDesc()
gets the description to include with this team


getInputPath

public java.lang.String getInputPath()
gets the path to input from


setInputPath

public void setInputPath(java.lang.String inputPath)
sets the path to input from


getComments

public java.lang.String getComments()
gets the comments for this team


setComments

public void setComments(java.lang.String comments)
sets the comments for this team


getNTP

public NetworkTestPackage getNTP()