|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.dailyprojectdata.resource.commit.CommitData
public class CommitData
The class wrapping SensorData instance, which provides easy access to the commit specific properties.
Constructor Summary | |
---|---|
CommitData(org.hackystat.sensorbase.resource.sensordata.jaxb.SensorData data)
Constructs this object with the specified SensorData instance. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if the specified object equals this object. |
org.hackystat.sensorbase.resource.sensordata.jaxb.Property |
getCommitProperty(java.lang.String propertyName)
Returns the Property instance with the specified property name. |
org.hackystat.sensorbase.resource.sensordata.jaxb.Property |
getCommitProperty(java.lang.String propertyName,
java.lang.String defaultValue)
Returns the Property instance with the specified property name. |
int |
getLinesAdded()
Returns the total lines added stored in this data instance. |
int |
getLinesDeleted()
Returns the total lines deleted stored in this data instance. |
int |
getLinesModified()
Returns the total lines modified in this data instance. |
java.lang.String |
getOwner()
Returns the owner of the wrapped data instance. |
int |
hashCode()
Returns the hashcode of this object. |
java.lang.String |
toString()
Returns the string representation of this data object, which is useful for debugging purposes. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CommitData(org.hackystat.sensorbase.resource.sensordata.jaxb.SensorData data)
data
- the specified data instance.Method Detail |
---|
public java.lang.String getOwner()
public int getLinesAdded()
public int getLinesDeleted()
public int getLinesModified()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- the object to test.
public int hashCode()
hashCode
in class java.lang.Object
public org.hackystat.sensorbase.resource.sensordata.jaxb.Property getCommitProperty(java.lang.String propertyName)
propertyName
- the property name to search for.
public org.hackystat.sensorbase.resource.sensordata.jaxb.Property getCommitProperty(java.lang.String propertyName, java.lang.String defaultValue)
propertyName
- the property name to search for.defaultValue
- The string to return if the property does not exist.
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |