Class ProgressSnapshot
java.lang.Object
net.thucydides.core.reports.history.ProgressSnapshot
- All Implemented Interfaces:
java.lang.Comparable<ProgressSnapshot>
public class ProgressSnapshot extends java.lang.Object implements java.lang.Comparable<ProgressSnapshot>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProgressSnapshot.ProgressSnapshotBuilder -
Method Summary
Modifier and Type Method Description intcompareTo(ProgressSnapshot other)static ProgressSnapshotcopyOf(ProgressSnapshot progressSnapshot)static ProgressSnapshot.ProgressSnapshotBuilderforRequirementType(java.lang.String requirementType)java.lang.StringgetBuildId()intgetCompleted()intgetEstimated()intgetFailed()java.lang.StringgetFormattedTime()java.lang.StringgetRequirementType()org.joda.time.DateTimegetTime()intgetTotal()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
forRequirementType
public static ProgressSnapshot.ProgressSnapshotBuilder forRequirementType(java.lang.String requirementType) -
copyOf
-
getTime
public org.joda.time.DateTime getTime() -
getRequirementType
public java.lang.String getRequirementType() -
getTotal
public int getTotal() -
getCompleted
public int getCompleted() -
getEstimated
public int getEstimated() -
getFailed
public int getFailed() -
getBuildId
public java.lang.String getBuildId() -
getFormattedTime
public java.lang.String getFormattedTime() -
compareTo
- Specified by:
compareToin interfacejava.lang.Comparable<ProgressSnapshot>
-