com.sun.faban.harness.engine
Class RunFacade

java.lang.Object
  extended by com.sun.faban.harness.engine.RunFacade

public class RunFacade
extends Object

The RunFacade provides a benchmark with callbacks to get run information.

Author:
Akara Sucharitakul

Method Summary
 String getBenchmarkDir()
          Obtains the benchmark deployment directory.
static RunFacade getInstance()
          Returns instance of RunFacade.
 String getOutDir()
          Obtains the output directory for this run.
 String getParamFile()
          Obtains the parameter/config file path for this run.
 ParamRepository getParamRepository()
          Obtains the param repository for this run.
 String getRunId()
          Obtains the run id in the form benchmark.id.
 String getRunSeq()
          Obtains the sequence part of the run id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static RunFacade getInstance()
Returns instance of RunFacade.

Returns:
RunFacade

getBenchmarkDir

public String getBenchmarkDir()
Obtains the benchmark deployment directory.

Returns:
The benchmark deployment directory

getOutDir

public String getOutDir()
Obtains the output directory for this run.

Returns:
The run output directory

getParamRepository

public ParamRepository getParamRepository()
Obtains the param repository for this run.

Returns:
The param repository

getParamFile

public String getParamFile()
Obtains the parameter/config file path for this run.

Returns:
The parameter file path

getRunSeq

public String getRunSeq()
Obtains the sequence part of the run id.

Returns:
The run id

getRunId

public String getRunId()
Obtains the run id in the form benchmark.id.

Returns:
The run id