Class FreshInstallDetectionModule

java.lang.Object
org.graylog2.shared.bindings.FreshInstallDetectionModule
All Implemented Interfaces:
com.google.inject.Module

public class FreshInstallDetectionModule extends Object implements com.google.inject.Module
This Module binds a Named boolean that can be used to detect whether a fresh installation of Graylog is happening.
Use with @Named("isFreshInstallation")
  • Field Details

  • Constructor Details

    • FreshInstallDetectionModule

      public FreshInstallDetectionModule(boolean isFreshInstall)
  • Method Details

    • configure

      public void configure(com.google.inject.Binder binder)
      Specified by:
      configure in interface com.google.inject.Module