|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.dailyprojectdata.resource.coverage.CoverageData
public class CoverageData
The class wrapping SensorData instance, which provides easy access to the coverage specific properties.
Field Summary | |
---|---|
static java.lang.String |
GRANULARITY_BLOCK
The string used to mark the block level granularity of coverage data. |
static java.lang.String |
GRANULARITY_CLASS
The string used to mark the class level granularity of coverage data. |
static java.lang.String |
GRANULARITY_LINE
The string used to mark the line level granularity of coverage data. |
static java.lang.String |
GRANULARITY_METHOD
The string used to mark the method level granularity of coverage data. |
Constructor Summary | |
---|---|
CoverageData(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 |
getCoverageProperty(java.lang.String propertyName)
Returns the Property instance with the specified property name. |
int |
getCovered(java.lang.String granularity)
Returns the covered coverage value. |
java.lang.String |
getOwner()
Returns the owner of the wrapped data instance. |
java.lang.String |
getResource()
Returns the resource of the wrapped data instance. |
javax.xml.datatype.XMLGregorianCalendar |
getRuntime()
Returns the runtime of this data instance. |
int |
getUncovered(java.lang.String granularity)
Returns the uncovered coverage value. |
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 |
Field Detail |
---|
public static final java.lang.String GRANULARITY_CLASS
public static final java.lang.String GRANULARITY_BLOCK
public static final java.lang.String GRANULARITY_METHOD
public static final java.lang.String GRANULARITY_LINE
Constructor Detail |
---|
public CoverageData(org.hackystat.sensorbase.resource.sensordata.jaxb.SensorData data)
data
- the specified data instance.Method Detail |
---|
public java.lang.String getResource()
public java.lang.String getOwner()
public int getUncovered(java.lang.String granularity)
granularity
- the level of uncovered data to return.
public int getCovered(java.lang.String granularity)
granularity
- the level of covered data to return.
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 getCoverageProperty(java.lang.String propertyName)
propertyName
- the property name to search for.
public javax.xml.datatype.XMLGregorianCalendar getRuntime()
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 |