|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.test.internal.performance.results.AbstractResults
org.eclipse.test.internal.performance.results.BuildResults
public class BuildResults
Class providing numbers of a scenario running on a specific configuration at a specific time (for example 'I20070615-1200').
| Field Summary |
|---|
| Fields inherited from class org.eclipse.test.internal.performance.results.AbstractResults |
|---|
BOXES, CONFIGS, DEFAULT_DIM, SUPPORTED_DIMS, VERSION, VERSION_REF |
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object obj)
Compare build results using the date of the build. |
java.lang.String |
getComment()
Returns the comment associated with the scenario for the current build. |
long |
getCount()
Return the number of stored values for the default dimension |
long |
getCount(int dim_id)
Return the number of stored values for the given dimension. |
java.lang.String |
getDate()
Returns the date of the build which is a part of its name. |
double |
getDeviation()
Returns the standard deviation of the default dimension computed while running the scenario for the current build. |
double |
getDeviation(int dim_id)
Returns the standard deviation of the given dimension computed while running the scenario for the current build. |
Dim[] |
getDimensions()
Returns the dimensions supported for the current build. |
double |
getError()
Return the error computed while storing values for the default dimension |
double |
getError(int dim_id)
Return the error computed while storing values for the given dimension. |
java.lang.String |
getFailure()
Return the failure message which may happened on this scenario while running the current build |
int |
getSummaryKind()
Returns the kind of summary for the scenario of the current build. |
double |
getValue()
Return the value of the performance result stored for the default dimension of the current build. |
double |
getValue(int dim_id)
Return the value of the performance result stored for the given dimension of the current build. |
boolean |
hadValues()
Returns whether the current build had several values stored in database. |
boolean |
hasGlobalSummary()
Returns whether the build has a global summary or not. |
boolean |
hasSummary()
Returns whether the build has a summary or not. |
boolean |
isBaseline()
Returns whether the build is a baseline build or not. |
java.lang.String |
toString()
|
| Methods inherited from class org.eclipse.test.internal.performance.results.AbstractResults |
|---|
copyFile, equals, getBuildDate, getBuildDate, getChildren, getName, getParent, getResults, hashCode, size, timeChrono, timeEnd, timeString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int compareTo(java.lang.Object obj)
compareTo in interface java.lang.ComparablecompareTo in class AbstractResultsComparable.compareTo(Object)public java.lang.String getComment()
null if no comment was stored for it.public long getCount()
public long getCount(int dim_id)
dim_id - The id of the dimension (see Dim.getId())
public java.lang.String getDate()
public double getDeviation()
public double getDeviation(int dim_id)
dim_id - The id of the dimension (see Dim.getId())
public Dim[] getDimensions()
public int getSummaryKind()
public boolean hadValues()
true if the measure was committed several times,
false otherwise.public double getError()
public double getError(int dim_id)
dim_id - The id of the dimension (see Dim.getId())
public java.lang.String getFailure()
null if the scenario passed.public double getValue(int dim_id)
dim_id - The id of the dimension (see Dim.getId())
public double getValue()
public boolean isBaseline()
true if the build name starts with the baseline prefix
(see PerformanceResults.getBaselinePrefix() or false
otherwise.public boolean hasSummary()
true if the summary kind is equals to 0 or 1
false otherwise.public boolean hasGlobalSummary()
true if the summary kind is equals to 1
false otherwise.public java.lang.String toString()
toString in class AbstractResults
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||