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 Details

    • SailorEnvironmentModule

      public SailorEnvironmentModule()
  • Method Details

    • configure

      protected void configure()
      Overrides:
      configure in class com.google.inject.AbstractModule
    • getOptionalIntegerValue

      public static int getOptionalIntegerValue(String key, int defaultValue)
    • getOptionalLongValue

      public static long getOptionalLongValue(String key, long defaultValue)
    • getOptionalYesNoValue

      public static boolean getOptionalYesNoValue(String key)
    • getOptionalBooleanValue

      public static boolean getOptionalBooleanValue(String key, boolean defaultValue)