public abstract class CmdLineTool extends Object
Modifier | Constructor and Description |
---|---|
protected |
CmdLineTool() |
Modifier and Type | Method and Description |
---|---|
protected <T> String |
getBasicHelp(Class<T>... argProxyInterfaces) |
protected <T> String |
getBasicHelp(Class<T> argProxyInterface) |
abstract String |
getHelp()
Retrieves a description on how to use the tool.
|
String |
getName()
Retrieves the name of the training data tool.
|
String |
getShortDescription()
Retrieves a short description of what the tool does.
|
boolean |
hasParams()
Returns whether the tool has any command line params.
|
protected <T> T |
validateAndParseParams(String[] args,
Class<T> argProxyInterface) |
public String getName()
public boolean hasParams()
public abstract String getHelp()
protected <T> T validateAndParseParams(String[] args, Class<T> argProxyInterface)
public String getShortDescription()
Copyright © 2015 The Apache Software Foundation. All rights reserved.