Package io.elastic.sailor
Class SailorEnvironmentModule
java.lang.Object
com.google.inject.AbstractModule
io.elastic.sailor.SailorEnvironmentModule
- All Implemented Interfaces:
com.google.inject.Module
public class SailorEnvironmentModule
extends com.google.inject.AbstractModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
static boolean
getOptionalBooleanValue
(String key, boolean defaultValue) static int
getOptionalIntegerValue
(String key, int defaultValue) static long
getOptionalLongValue
(String key, long defaultValue) static boolean
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
SailorEnvironmentModule
public SailorEnvironmentModule()
-
-
Method Details
-
configure
protected void configure()- Overrides:
configure
in classcom.google.inject.AbstractModule
-
getOptionalIntegerValue
-
getOptionalLongValue
-
getOptionalYesNoValue
-
getOptionalBooleanValue
-