Constructor and Description |
---|
NewAnalyzerTask(PerfRunData runData) |
Modifier and Type | Method and Description |
---|---|
static Analyzer |
createAnalyzer(String className) |
int |
doLogic()
Perform the task once (ignoring repetitions specification)
Return number of work items done by this task.
|
void |
setParams(String params)
Set the params (analyzerName only), Comma-separate list of Analyzer class names.
|
boolean |
supportsParams()
Sub classes that support parameters must override this method to return
true.
|
clone, close, getAlgLineNum, getBackgroundDeltaPriority, getDepth, getLogMessage, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setAlgLineNum, setDepth, setDisableCounting, setName, setRunInBackground, setup, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, tearDown, toString
public NewAnalyzerTask(PerfRunData runData)
public static final Analyzer createAnalyzer(String className) throws Exception
Exception
public int doLogic() throws IOException
PerfTask
doLogic
in class PerfTask
IOException
public void setParams(String params)
Analyzer names may also refer to previously defined AnalyzerFactory's.
Example Declaration: {"NewAnalyzer" NewAnalyzer(WhitespaceAnalyzer, SimpleAnalyzer, StopAnalyzer, standard.StandardAnalyzer) >
Example AnalyzerFactory usage:
-AnalyzerFactory(name:'whitespace tokenized',WhitespaceTokenizer) -NewAnalyzer('whitespace tokenized')
public boolean supportsParams()
PerfTask
supportsParams
in class PerfTask
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.