|
||||||||||
| 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.ScenarioResults
public class ScenarioResults
Class to handle performance results of a component's scenario (for example 'org.eclipse.jdt.core.FullSourceWorkspaceSearchTest#searchAllTypeNames()'). It gives access to results for each configuration run on this scenario.
ConfigResults| Field Summary |
|---|
| Fields inherited from class org.eclipse.test.internal.performance.results.AbstractResults |
|---|
BOXES, CONFIGS, DEFAULT_DIM, SUPPORTED_DIMS, VERSION, VERSION_REF |
| Constructor Summary | |
|---|---|
ScenarioResults(int id,
java.lang.String name,
java.lang.String shortName)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBaselineBuildName()
Returns the first configuration baseline build name. |
ConfigResults |
getConfigResults(java.lang.String config)
Return the results of the given configuration. |
java.lang.String |
getFileName()
Return a name which can be used as a file name to store information related to this scenario. |
java.lang.String |
getLabel()
Returns the scenario label. |
java.lang.String |
getShortName()
Returns the short name of the scenario. |
int |
hashCode()
|
boolean |
hasSummary()
Returns whether one of the scenario's config has a summary or not. |
boolean |
isValid()
Returns whether the current scenario is valid or not. |
boolean |
isValid(java.lang.String config)
Returns whether the current build of the given config has valid results or not. |
boolean |
knowsBuild(java.lang.String buildName)
Returns whether the current scenario knows a build or not. |
| Methods inherited from class org.eclipse.test.internal.performance.results.AbstractResults |
|---|
compareTo, copyFile, equals, getBuildDate, getBuildDate, getChildren, getName, getParent, getResults, size, timeChrono, timeEnd, timeString, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ScenarioResults(int id,
java.lang.String name,
java.lang.String shortName)
| Method Detail |
|---|
public java.lang.String getBaselineBuildName()
ConfigResults.getBaselineBuildName()public ConfigResults getConfigResults(java.lang.String config)
config - The configuration name
results for the given configuration
or null if none was found.public java.lang.String getFileName()
public java.lang.String getLabel()
public java.lang.String getShortName()
public boolean hasSummary()
true if one of the scenario's config has a summary
false otherwise.public int hashCode()
hashCode in class AbstractResultspublic boolean isValid()
true if all the builds contained in the database are
known by the scenario (ie. at least one its configuration knows each of the
db builds), false otherwise.public boolean isValid(java.lang.String config)
config - The name of the configuration
true if the build has valid results
false otherwise.public boolean knowsBuild(java.lang.String buildName)
buildName - The name of the build
true if the at least one of scenario configuration
knows the given build, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||