net.objectlab.qalab.parser
Class SingleStat
java.lang.Object
net.objectlab.qalab.parser.SingleStat
public class SingleStat
- extends java.lang.Object
A class to store each result which are stored as part of the FileStat. This
class holds the following data; date, no. of errors and the type of reporting
- Version:
- $Revision: 242 $
- Author:
- Paramjit Rehinsi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SingleStat
public SingleStat()
setDate
public final void setDate(java.util.Date date)
- Parameters:
date
- the date and time of detection of the errors.
getDate
public final java.util.Date getDate()
- Returns:
- the date and time of detection of the errors.
setStatValue
public final void setStatValue(int errors)
- Parameters:
errors
- the error count detected.
getStatValue
public final int getStatValue()
- Returns:
- the error count.
setType
public final void setType(java.lang.String statisticsType)
- Parameters:
statisticsType
- checkstyle|findbugs|pmd|simian
getType
public final java.lang.String getType()
- Returns:
- the statistic type
toString
public final java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- Returns:
- a text representation