uk.org.skeet.jbench
Class JBenchConfiguration
java.lang.Object
|
+--uk.org.skeet.jbench.JBenchConfiguration
- public class JBenchConfiguration
- extends java.lang.Object
Class encapsulating general configuration and containing
references to configured tasks. This class is now responsible
for much of the work of JBench.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBenchConfiguration
public JBenchConfiguration()
- Constructor. After creation, a JBenchConfiguration may have
its event listener specified before being otherwise configured,
but cannot be used in other ways.
runTests
public void runTests()
- Runs the tests themselves. Note that after each task is run, it is
removed from the list so they may be garbage collected.
configure
public void configure(java.util.Properties props)
throws ConfigurationException
- Configures this object from a set of properties. Any exceptions
are passed back and reported to the appropriate event listener,
unless they occur before an event listener is configured, in which
case they are reported to System.err.
getEventListener
public JBenchEventListener getEventListener()
setEventListener
public void setEventListener(JBenchEventListener eventListener)
getRunsPerTask
public int getRunsPerTask()
getSystemInformation
public java.util.List getSystemInformation()
getExcludeBest
public int getExcludeBest()
getExcludeWorst
public int getExcludeWorst()
getTimer
public BenchTimer getTimer()
getPackages
public java.util.List getPackages()
isFailFast
public boolean isFailFast()
getTaskList
public java.util.List getTaskList()