public class Algorithm extends Object implements AutoCloseable
| Constructor and Description |
|---|
Algorithm(PerfRunData runData)
Read algorithm from file
Property examined: alt.tasks.packages == comma separated list of
alternate package names where tasks would be searched for, when not found
in the default package (that of
PerfTaskObject.getClass()). |
public Algorithm(PerfRunData runData) throws Exception
PerfTaskObject.getClass()).
If the same task class appears in more than one package, the package
indicated first in this list will be used.runData - perf-run-data used at running the tasks.Exception - if errors while parsing the algorithmpublic ArrayList<PerfTask> extractTasks()
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.