public class AbstractEvaluatorTool<T,P> extends AbstractTypedParamTool<T,P>
| Modifier and Type | Field and Description |
|---|---|
protected ObjectStreamFactory<T> |
factory |
protected P |
params |
protected ObjectStream<T> |
sampleStream |
paramsClasstype| Modifier | Constructor and Description |
|---|---|
protected |
AbstractEvaluatorTool(Class<T> sampleType,
Class<P> params)
Constructor with type parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run(String format,
String[] args)
Executes the tool with the given parameters.
|
getHelpgetBasicHelp, getHelp, getStreamFactory, validateAllArgs, validateFactoryArgsgetBasicHelp, getName, getShortDescription, hasParams, validateAndParseParamsprotected P params
protected ObjectStreamFactory<T> factory
protected ObjectStream<T> sampleStream
public void run(String format, String[] args)
TypedCmdLineToolrun in class TypedCmdLineTool<T>format - format to work withargs - command line argumentsCopyright © 2017 The Apache Software Foundation. All rights reserved.