public class RunId extends Object implements Comparable
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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
|
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.public String getHostName()
public String getBenchName()
public String getRunSeq()
public File getResultDir()
public String toString()
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.