Package org.nuxeo.lib.stream.tools
Class Main
- java.lang.Object
-
- org.nuxeo.lib.stream.tools.Main
-
public class Main extends Object
- Since:
- 9.3
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringCHRONICLE_OPTprotected Stringcommandprotected Map<String,Command>commandMapprotected static StringKAFKA_OPTprotected LogManagermanagerprotected static StringNUXEO_KAFKA_CONFprotected static StringNUXEO_KAFKA_FILE_CONFprotected org.apache.commons.cli.Optionsoptions
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateChronicleManager(String basePath)protected voidcreateKafkaManager(String kafkaContribution, String kafkaConfig)protected voidcreateManager(Command cmd, org.apache.commons.cli.CommandLine cmdLine)protected CommandgetCommand()LogManagergetLogManager(String[] args)protected voidinitDefaultOptions()static voidmain(String[] args)booleanrun(String[] args)protected booleanrunWithArgs(String[] args)
-
-
-
Field Detail
-
NUXEO_KAFKA_FILE_CONF
protected static final String NUXEO_KAFKA_FILE_CONF
- See Also:
- Constant Field Values
-
NUXEO_KAFKA_CONF
protected static final String NUXEO_KAFKA_CONF
- See Also:
- Constant Field Values
-
CHRONICLE_OPT
protected static final String CHRONICLE_OPT
- See Also:
- Constant Field Values
-
KAFKA_OPT
protected static final String KAFKA_OPT
- See Also:
- Constant Field Values
-
options
protected final org.apache.commons.cli.Options options
-
command
protected String command
-
manager
protected LogManager manager
-
-
Method Detail
-
main
public static void main(String[] args)
-
run
public boolean run(String[] args)
-
runWithArgs
protected boolean runWithArgs(String[] args)
-
createManager
protected void createManager(Command cmd, org.apache.commons.cli.CommandLine cmdLine)
-
createChronicleManager
protected void createChronicleManager(String basePath)
-
getCommand
protected Command getCommand()
-
initDefaultOptions
protected void initDefaultOptions()
-
getLogManager
public LogManager getLogManager(String[] args)
-
-