cdx.scorebot.app.reporter
Class ScoringStats
java.lang.Object
cdx.scorebot.app.reporter.ScoringStats
public abstract class ScoringStats
- extends java.lang.Object
Defines framework for generating scoring information as HTML
- Author:
- David Underhill
Method Summary |
static void |
generateCompleteStats(java.lang.String compName,
int minPts,
int initPts,
int maxPts,
java.util.Vector<TeamReportingInfo> teamsToScoreInfo,
java.lang.String outputPath,
java.lang.String templatePath,
java.lang.String reportComments,
java.lang.String desc,
boolean useAllInfo,
boolean makeFull)
Generates statistics based on the specified input and output paths |
static void |
generateCompleteStats(java.lang.String compName,
int minPts,
int initPts,
int maxPts,
java.util.Vector<TeamReportingInfo> teamsToScoreInfo,
java.lang.String outputPath,
java.lang.String templatePath,
java.lang.String reportComments,
java.lang.String desc,
boolean useAllInfo,
boolean makeFull,
javax.swing.JProgressBar progressBar)
Generates statistics based on the specified input and output paths |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScoringStats
public ScoringStats()
generateCompleteStats
public static void generateCompleteStats(java.lang.String compName,
int minPts,
int initPts,
int maxPts,
java.util.Vector<TeamReportingInfo> teamsToScoreInfo,
java.lang.String outputPath,
java.lang.String templatePath,
java.lang.String reportComments,
java.lang.String desc,
boolean useAllInfo,
boolean makeFull)
throws com.thoughtworks.xstream.core.BaseException,
java.io.FileNotFoundException,
java.io.IOException,
LogicException,
ParseException,
TokenMgrError
- Generates statistics based on the specified input and output paths
- Parameters:
compName
- name of the competitionminPts
- min # of points which can be scoredinitPts
- initial # of points which can be scoredmaxPts
- max # of points which can be scoredteamsToScoreInfo
- teams to generate report pieces foroutputPath
- path to write HTML output totemplatePath
- path to read the template files fromreportComments
- comments to add to the team's scoring report index pagedesc
- description of what was run (the configuration)
- Throws:
BaseException
- if the object cannot be deserialized
FileNotFoundException
- if the file exists but is a directory rather
than a regular file, does not exist but cannot
be created, or cannot be opened for any other reason
IOException
- if an output file can be properly created
LogicException
- if the scoring language in a file is invalid
ParseException
- if the scoring language in a file is invalid
TokenMgrError
- if there is a problem parsing the code
generateCompleteStats
public static void generateCompleteStats(java.lang.String compName,
int minPts,
int initPts,
int maxPts,
java.util.Vector<TeamReportingInfo> teamsToScoreInfo,
java.lang.String outputPath,
java.lang.String templatePath,
java.lang.String reportComments,
java.lang.String desc,
boolean useAllInfo,
boolean makeFull,
javax.swing.JProgressBar progressBar)
throws com.thoughtworks.xstream.core.BaseException,
java.io.FileNotFoundException,
java.io.IOException,
LogicException,
ParseException,
TokenMgrError
- Generates statistics based on the specified input and output paths
- Parameters:
compName
- name of the competitionminPts
- min # of points which can be scoredinitPts
- initial # of points which can be scoredmaxPts
- max # of points which can be scoredteamsToScoreInfo
- teams to generate report pieces foroutputPath
- path to write HTML output totemplatePath
- path to read the template files fromreportComments
- comments to add to the team's scoring report index pagedesc
- description of what was run (the configuration)progressBar
- may be specified if the user wants to track progress (null => no impact)
- Throws:
BaseException
- if the object cannot be deserialized
FileNotFoundException
- if the file exists but is a directory rather
than a regular file, does not exist but cannot
be created, or cannot be opened for any other reason
IOException
- if an output file can be properly created
LogicException
- if the scoring language in a file is invalid
ParseException
- if the scoring language in a file is invalid
TokenMgrError
- if there is a problem parsing the code