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
chainingClassLoader, commandName, coreConfigInjector, dumpConfig, dumpDefaultConfig, featureFlags, FILE_SEPARATOR, GRAYLOG_ENVIRONMENT_VAR_PREFIX, GRAYLOG_SYSTEM_PROP_PREFIX, injector, jadConfig, TMPDIR, version -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<com.google.inject.Module>getCommandBindings(FeatureFlags featureFlags) loadPlugins(Path pluginPath, ChainingClassLoader chainingClassLoader) protected booleanprotected abstract voidprotected voidMethods inherited from class org.graylog2.bootstrap.CmdLineTool
annotateInjectorCreationException, annotateInjectorExceptions, applySecuritySettings, beforeInjectorCreation, beforeStart, beforeStart, capabilities, doRun, getConfigRepositories, getSharedBindingsModules, installConfigRepositories, isDebug, isDumpConfig, isDumpDefaultConfig, isMigrationCommand, processConfiguration, run, setupCoreConfigInjector, 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
-
startCommand
protected void startCommand()- Specified by:
startCommandin classCmdLineTool
-
runCommand
protected abstract void runCommand()
-