Package org.graylog2.shared.bindings
Class FreshInstallDetectionModule
java.lang.Object
org.graylog2.shared.bindings.FreshInstallDetectionModule
- All Implemented Interfaces:
com.google.inject.Module
This Module binds a
Use with
Named
boolean that can be used to detect whether a fresh installation
of Graylog is happening. Use with
@Named("isFreshInstallation")
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
IS_FRESH_INSTALLATION
- See Also:
-
-
Constructor Details
-
FreshInstallDetectionModule
public FreshInstallDetectionModule(boolean isFreshInstall)
-
-
Method Details
-
configure
public void configure(com.google.inject.Binder binder) - Specified by:
configure
in interfacecom.google.inject.Module
-