net.objectlab.qalab.parser
Class FileStats
java.lang.Object
net.objectlab.qalab.parser.FileStats
public class FileStats
- extends java.lang.Object
As part of the up/down movers task, this class contains info about a given
file.
- Version:
- $Revision: 226 $
- Author:
- Paramjit Rehinsi
Constructor Summary |
FileStats(java.util.Map types,
java.lang.String fileSurveyed,
java.lang.String pathToFile,
java.util.Date cutoff)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileStats
public FileStats(java.util.Map types,
java.lang.String fileSurveyed,
java.lang.String pathToFile,
java.util.Date cutoff)
- Parameters:
types
- the types surveyed.fileSurveyed
- the file name surveyed.cutoff
- earliest date to take into account.
getFileName
public final java.lang.String getFileName()
- Returns:
- Return filename of this object.
getUpXmlResult
public final java.lang.String getUpXmlResult()
- Returns:
- Return the XML entry for UP movers (increased violations).
getDownXmlResult
public final java.lang.String getDownXmlResult()
- Returns:
- Return the XML entry for DOWN movers (decreased violations).
constructXML
public final void constructXML()
- Construct the XML buffers.
setEndDateCutoff
public final void setEndDateCutoff(java.util.Date endDate)
- Parameters:
endDate
- The endDateCutoff to set.
getEndDateCutoff
public final java.util.Date getEndDateCutoff()
- Returns:
- Returns the endDateCutoff.
getPathToFile
public final java.lang.String getPathToFile()
- Returns:
- Returns the pathToFile.
setPathToFile
public final void setPathToFile(java.lang.String pathToFile)
- Parameters:
pathToFile
- The pathToFile to set.
getOffsetForLastRun
public int getOffsetForLastRun()
setOffsetForLastRun
public void setOffsetForLastRun(int offsetForLastRun)