Package org.graylog2.commands.journal
Class AbstractJournalCommand
java.lang.Object
org.graylog2.bootstrap.CmdLineTool
org.graylog2.commands.journal.AbstractJournalCommand
- All Implemented Interfaces:
Runnable,CliCommand
- Direct Known Subclasses:
JournalDecode,JournalShow,JournalTruncate
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Configurationprotected LocalKafkaJournalprotected final KafkaJournalConfigurationFields inherited from class org.graylog2.bootstrap.CmdLineTool
bootstrapConfigInjector, chainingClassLoader, commandName, dumpConfig, dumpDefaultConfig, featureFlags, FILE_SEPARATOR, GRAYLOG_ENVIRONMENT_VAR_PREFIX, GRAYLOG_SYSTEM_PROP_PREFIX, injector, jadConfig, pluginLoader, TMPDIR, version -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<com.google.inject.Module>getCommandBindings(FeatureFlags featureFlags) protected booleanprotected abstract voidprotected voidMethods inherited from class org.graylog2.bootstrap.CmdLineTool
annotateInjectorCreationException, annotateInjectorExceptions, applySecuritySettings, beforeInjectorCreation, beforeStart, beforeStart, capabilities, doRun, getConfigRepositories, getPluginLoader, getPluginLoader, getSharedBindingsModules, installConfigRepositories, isDebug, isDumpConfig, isDumpDefaultConfig, isMigrationCommand, processConfiguration, run, setupBootstrapConfigInjector, setupInjector, setupLogger, validateConfiguration
-
Field Details
-
configuration
-
kafkaJournalConfiguration
-
journal
-
-
Constructor Details
-
AbstractJournalCommand
public AbstractJournalCommand() -
AbstractJournalCommand
-
-
Method Details
-
getCommandBindings
- Specified by:
getCommandBindingsin classCmdLineTool
-
getCommandConfigurationBeans
- Specified by:
getCommandConfigurationBeansin classCmdLineTool
-
onlyLogErrors
protected boolean onlyLogErrors()- Overrides:
onlyLogErrorsin classCmdLineTool
-
loadPlugins
- Overrides:
loadPluginsin classCmdLineTool
-
startCommand
protected void startCommand()- Specified by:
startCommandin classCmdLineTool
-
runCommand
protected abstract void runCommand()
-