public class RunAnalyzer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RunAnalyzer.Type
Analysis types.
|
Constructor and Description |
---|
RunAnalyzer() |
Modifier and Type | Method and Description |
---|---|
void |
analyze(RunAnalyzer.Type type,
String[] runIdStrings,
String output,
String user)
Executes the run analysis.
|
static void |
clear(String name)
Removes the analysis results.
|
void |
compare(String[] runDirs,
String outDir) |
static boolean |
exists(String name)
Checks whether the analysis with the given name exists.
|
static void |
main(String[] args) |
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.
|
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 analysispublic static boolean exists(String name)
name
- The analysis namepublic static void clear(String name)
name
- The name of the result to removepublic 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 analysisIOException
- The analysis failed and results are not generatedpublic void compare(String[] runDirs, String outDir) throws IOException
IOException
public static void main(String[] args)