public class Algorithm
extends java.lang.Object
| 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()). |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execute this algorithm
|
java.util.ArrayList<PerfTask> |
extractTasks()
Expert: for test purposes, return all tasks participating in this algorithm.
|
java.lang.String |
toString() |
public Algorithm(PerfRunData runData) throws java.lang.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.java.lang.Exception - if errors while parsing the algorithmpublic java.lang.String toString()
toString in class java.lang.Objectpublic void execute()
throws java.lang.Exception
java.lang.Exceptionpublic java.util.ArrayList<PerfTask> extractTasks()
Copyright © 2000-2022 Apache Software Foundation. All Rights Reserved.