public abstract class AbstractTypedParamTool<T,P> extends TypedCmdLineTool<T>
Modifier and Type | Field and Description |
---|---|
protected Class<P> |
paramsClass
variable to access the parameters
|
type
Modifier | Constructor and Description |
---|---|
protected |
AbstractTypedParamTool(Class<T> sampleType,
Class<P> paramsClass)
Constructor with type parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getHelp(String format)
Retrieves a description on how to use the tool.
|
getBasicHelp, getHelp, getStreamFactory, run, validateAllArgs, validateFactoryArgs
getBasicHelp, getName, getShortDescription, hasParams, validateAndParseParams
public String getHelp(String format)
TypedCmdLineTool
getHelp
in class TypedCmdLineTool<T>
format
- data formatCopyright © 2015 The Apache Software Foundation. All rights reserved.