|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.faban.harness.webclient.RunAnalyzer
public class RunAnalyzer
Run Analyzer that handles all the backend tasks to analyze the runs.
Nested Class Summary | |
---|---|
static class |
RunAnalyzer.Type
Analysis types. |
Constructor Summary | |
---|---|
RunAnalyzer()
|
Method Summary | |
---|---|
static void |
analyze(RunAnalyzer.Type type,
String[] runIdStrings,
String output,
String user)
Executes the run analysis. |
static void |
clear(String name)
Removes the analysis results. |
static boolean |
exists(String name)
Checks whether the analysis with the given name exists. |
static String |
suggestName(RunAnalyzer.Type type,
String[] runIdStrings)
Provides a suggested analysis name for the analysis based on the analysis type and and run ids that are used. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RunAnalyzer()
Method Detail |
---|
public static String suggestName(RunAnalyzer.Type type, String[] runIdStrings)
type
- Whether it is a compare or an averagerunIdStrings
- The run ids to include in the analysis
public static boolean exists(String name)
name
- The analysis name
public static void clear(String name)
name
- The name of the result to removepublic static void analyze(RunAnalyzer.Type type, String[] runIdStrings, String output, String user) throws IOException
type
- The type of the analysisrunIdStrings
- The run ids to analyze, in form of String arrayoutput
- The name of the analysis resultsuser
- The user name requesting this analysis
IOException
- The analysis failed and results are not generated
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |