Class EnvUtils

java.lang.Object
org.citrusframework.util.EnvUtils

public class EnvUtils extends Object
  • Method Details

    • transformPropertyToEnv

      @Nonnull public static String transformPropertyToEnv(@Nonnull String property)
    • booleanPropertyOrDefault

      public static boolean booleanPropertyOrDefault(@Nonnull SystemProvider systemProvider, @Nonnull String propertyName, @Nonnull String envName, boolean defaultValue)
    • enumPropertyOrDefault

      @Nonnull public static <T extends Enum<T>> T enumPropertyOrDefault(@Nonnull SystemProvider systemProvider, @Nonnull Class<T> enumClass, @Nonnull String propertyName, @Nonnull String envName, @Nonnull T defaultValue)
    • getConfigurationProperty

      @Nullable public static String getConfigurationProperty(@Nonnull SystemProvider systemProvider, @Nonnull String propertyName)
    • getConfigurationProperty

      @Nullable public static String getConfigurationProperty(@Nonnull SystemProvider systemProvider, @Nonnull String propertyName, @Nonnull String defaultValue)