|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.faban.harness.common.RunId
public class RunId
The RunId class represents a run name and provides standard facilities to decode the run name. The RunId class is immutable.
Constructor Summary | |
---|---|
RunId(String runId)
Parses a string representation of a runId into the RunId object. |
|
RunId(String benchName,
String runSeq)
Constructs a run name based on the benchmark name and the run sequence. |
|
RunId(String host,
String benchName,
String runSeq)
Constructs a run name based on the host name, the benchmark name, and the run sequence. |
Method Summary | |
---|---|
int |
compareSeq(RunId o)
Compares the run sequence between one and the other run id. |
int |
compareTo(Object o)
Compares this object with the specified object for order. |
String |
getBenchName()
Returns the benchmark name portion of the run id. |
String |
getHostName()
Returns the host portion of the run id. |
File |
getResultDir()
Return the result directory associated with this run. |
String |
getRunSeq()
Returns the sequence portion of the run id. |
String |
toString()
Returns the string representation of RunId in the form |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RunId(String benchName, String runSeq)
benchName
- The benchmark namerunSeq
- The run idpublic RunId(String host, String benchName, String runSeq)
host
- The host namebenchName
- The benchmark namerunSeq
- The run sequencepublic RunId(String runId)
runId
- The run id.Method Detail |
---|
public String getHostName()
public String getBenchName()
public String getRunSeq()
public File getResultDir()
public String toString()
toString
in class Object
public int compareTo(Object o)
compareTo
in interface Comparable
o
- the Object to be compared.
ClassCastException
- if the specified object's type prevents it
from being compared to this Object.public int compareSeq(RunId o)
o
- The other run id.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |