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 |
commandName, dumpConfig, dumpDefaultConfig, ENVIRONMENT_PREFIX, FILE_SEPARATOR, injector, jadConfig, PROPERTIES_PREFIX, 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() |
protected boolean |
validateConfiguration() |
annotateInjectorCreationException, annotateInjectorExceptions, capabilities, getConfigRepositories, getSharedBindingsModules, isDebug, isDumpConfig, isDumpDefaultConfig, loadPlugins, readConfiguration, run, setupInjector, setupLoggerprotected 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 boolean validateConfiguration()
validateConfiguration in class CmdLineToolprotected 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-2015 Graylog, Inc.. All Rights Reserved.