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 String
CHRONICLE_OPT
protected String
command
protected Map<String,Command>
commandMap
protected static String
KAFKA_OPT
protected LogManager
manager
protected static String
NUXEO_KAFKA_CONF
protected static String
NUXEO_KAFKA_FILE_CONF
protected org.apache.commons.cli.Options
options
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createChronicleManager(String basePath)
protected void
createKafkaManager(String kafkaContribution, String kafkaConfig)
protected void
createManager(Command cmd, org.apache.commons.cli.CommandLine cmdLine)
protected Command
getCommand()
LogManager
getLogManager(String[] args)
protected void
initDefaultOptions()
static void
main(String[] args)
boolean
run(String[] args)
protected boolean
runWithArgs(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)
-
-