public abstract class AbstractSubCommand extends Object implements Callable<Integer>
Constructor and Description |
---|
AbstractSubCommand() |
Modifier and Type | Method and Description |
---|---|
Integer |
call() |
protected CommandLine |
commandLine() |
boolean |
equals(Object other) |
protected Collector |
getCollector() |
Path |
getConfigFile() |
List<String> |
getCrawlers() |
Path |
getVariablesFile() |
int |
hashCode() |
protected int |
loadConfig() |
protected void |
printErr() |
protected void |
printErr(String str) |
protected void |
printOut() |
protected void |
printOut(String str) |
protected abstract void |
runCommand() |
void |
setConfigFile(Path configFile) |
void |
setVariablesFile(Path variablesFile) |
String |
toString() |
protected void printOut()
protected void printOut(String str)
protected void printErr()
protected void printErr(String str)
protected CommandLine commandLine()
protected Collector getCollector()
public Path getConfigFile()
public void setConfigFile(Path configFile)
public Path getVariablesFile()
public void setVariablesFile(Path variablesFile)
protected int loadConfig()
protected abstract void runCommand()
Copyright © 2014–2023 Norconex Inc.. All rights reserved.