Package com.norconex.crawler.core.cli
Class CliBase
java.lang.Object
com.norconex.crawler.core.cli.CliBase
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
CliClean,CliConfigCheck,CliConfigRender,CliStart,CliStop,CliStoreExport,CliStoreImport
Base class for sub-commands.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanprotected PrintWritererr()inthashCode()protected PrintWriterout()voidrun()protected abstract voidrunCommand(Crawler crawler) voidsetConfigFile(Path configFile) voidsetVariablesFile(Path variablesFile) toString()
-
Constructor Details
-
CliBase
public CliBase()
-
-
Method Details
-
run
public void run() -
runCommand
-
out
-
err
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getConfigFile
-
setConfigFile
-
getVariablesFile
-
setVariablesFile
-