org.hackystat.sensor.ant.perforce
Class PerforceChangeListData.PerforceFileData

java.lang.Object
  extended by org.hackystat.sensor.ant.perforce.PerforceChangeListData.PerforceFileData
Enclosing class:
PerforceChangeListData

public static class PerforceChangeListData.PerforceFileData
extends java.lang.Object

Inner class that provides information on a single file.

Author:
Philip Johnson

Constructor Summary
PerforceChangeListData.PerforceFileData(java.lang.String fileName, int linesAdded, int linesDeleted, int linesModified, int totalLoc)
          Create a record with info about the given file.
 
Method Summary
 java.lang.String getFileName()
          Returns the file name.
 int getLinesAdded()
          Returns the lines added.
 int getLinesDeleted()
          Returns the lines deleted.
 int getLinesModified()
          Returns the lines modified.
 int getTotalLines()
          Returns the total number of lines.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerforceChangeListData.PerforceFileData

public PerforceChangeListData.PerforceFileData(java.lang.String fileName,
                                               int linesAdded,
                                               int linesDeleted,
                                               int linesModified,
                                               int totalLoc)
Create a record with info about the given file.

Parameters:
fileName - The name.
linesAdded - Lines added.
linesDeleted - Lines deleted.
linesModified - Lines modified.
totalLoc - The total loc.
Method Detail

getFileName

public java.lang.String getFileName()
Returns the file name.

Returns:
The file name.

getLinesAdded

public int getLinesAdded()
Returns the lines added.

Returns:
The lines added.

getLinesDeleted

public int getLinesDeleted()
Returns the lines deleted.

Returns:
The lines deleted.

getLinesModified

public int getLinesModified()
Returns the lines modified.

Returns:
The lines modified.

getTotalLines

public int getTotalLines()
Returns the total number of lines.

Returns:
The total lines.