public abstract class AbstractJournalCommand extends CmdLineTool
| Modifier and Type | Field and Description |
|---|---|
protected static Configuration |
configuration |
protected KafkaJournal |
journal |
protected KafkaJournalConfiguration |
kafkaJournalConfiguration |
protected static org.slf4j.Logger |
log |
chainingClassLoader, commandName, dumpConfig, dumpDefaultConfig, FILE_SEPARATOR, injector, jadConfig, TMPDIR, version| Constructor and Description |
|---|
AbstractJournalCommand() |
AbstractJournalCommand(String commandName) |
| Modifier and Type | Method and Description |
|---|---|
protected List<com.google.inject.Module> |
getCommandBindings() |
protected List<Object> |
getCommandConfigurationBeans() |
protected boolean |
onlyLogErrors() |
protected abstract void |
runCommand() |
protected void |
startCommand() |
annotateInjectorCreationException, annotateInjectorExceptions, beforeStart, capabilities, getConfigRepositories, getSharedBindingsModules, isDebug, isDumpConfig, isDumpDefaultConfig, loadPlugins, readConfiguration, run, setupInjector, setupLogger, validateConfigurationprotected static final org.slf4j.Logger log
protected static final Configuration configuration
protected final KafkaJournalConfiguration kafkaJournalConfiguration
protected KafkaJournal journal
public AbstractJournalCommand()
public AbstractJournalCommand(String commandName)
protected List<com.google.inject.Module> getCommandBindings()
getCommandBindings in class CmdLineToolprotected List<Object> getCommandConfigurationBeans()
getCommandConfigurationBeans in class CmdLineToolprotected boolean onlyLogErrors()
onlyLogErrors in class CmdLineToolprotected void startCommand()
startCommand in class CmdLineToolprotected abstract void runCommand()
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.