public abstract class AbstractJournalCommand extends CmdLineTool
| Modifier and Type | Field and Description |
|---|---|
protected static Configuration |
configuration |
protected LocalKafkaJournal |
journal |
protected KafkaJournalConfiguration |
kafkaJournalConfiguration |
chainingClassLoader, commandName, coreConfigInjector, 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(Path pluginPath,
ChainingClassLoader chainingClassLoader) |
protected boolean |
onlyLogErrors() |
protected abstract void |
runCommand() |
protected void |
startCommand() |
annotateInjectorCreationException, annotateInjectorExceptions, applySecuritySettings, beforeStart, beforeStart, getConfigRepositories, getSharedBindingsModules, isDebug, isDumpConfig, isDumpDefaultConfig, processConfiguration, run, setupCoreConfigInjector, setupInjector, setupLogger, validateConfigurationprotected static final Configuration configuration
protected final KafkaJournalConfiguration kafkaJournalConfiguration
protected LocalKafkaJournal 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(Path pluginPath, ChainingClassLoader chainingClassLoader)
loadPlugins in class CmdLineToolprotected void startCommand()
startCommand in class CmdLineToolprotected abstract void runCommand()
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.