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 Set<ServerStatus.Capability> |
capabilities() |
protected List<com.google.inject.Module> |
getCommandBindings() |
protected List<Object> |
getCommandConfigurationBeans() |
protected Set<Plugin> |
loadPlugins(String pluginPath,
ChainingClassLoader chainingClassLoader) |
protected boolean |
onlyLogErrors() |
protected abstract void |
runCommand() |
protected void |
startCommand() |
annotateInjectorCreationException, annotateInjectorExceptions, beforeStart, getConfigRepositories, getSharedBindingsModules, isDebug, isDumpConfig, isDumpDefaultConfig, 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 Set<ServerStatus.Capability> capabilities()
capabilities in class CmdLineToolprotected List<Object> getCommandConfigurationBeans()
getCommandConfigurationBeans in class CmdLineToolprotected boolean onlyLogErrors()
onlyLogErrors in class CmdLineToolprotected Set<Plugin> loadPlugins(String pluginPath, ChainingClassLoader chainingClassLoader)
loadPlugins in class CmdLineToolprotected void startCommand()
startCommand in class CmdLineToolprotected abstract void runCommand()
Copyright © 2012–2017 Graylog, Inc.. All rights reserved.