public class EnvironmentSpecificConfiguration extends Object
| Constructor and Description |
|---|
EnvironmentSpecificConfiguration(EnvironmentVariables environmentVariables) |
public EnvironmentSpecificConfiguration(EnvironmentVariables environmentVariables)
public Properties getPropertiesWithPrefix(String prefix)
public Properties getPropertiesWithPrefixStripped(String prefix)
public Properties getPropertiesWithPrefix(String prefix, boolean stripPrefix)
public static List<String> activeEnvironmentsIn(EnvironmentVariables environmentVariables)
public com.typesafe.config.Config getConfig(String prefix)
public static boolean areDefinedIn(EnvironmentVariables environmentVariables)
public Optional<String> getOptionalProperty(ThucydidesSystemProperty propertyName)
public String getProperty(ThucydidesSystemProperty propertyName)
public String getNullableProperty(ThucydidesSystemProperty propertyName)
public Integer getIntegerProperty(ThucydidesSystemProperty propertyName)
public boolean getBooleanProperty(ThucydidesSystemProperty propertyName)
public boolean getBooleanProperty(String propertyName)
public List<String> getListOfValues(ThucydidesSystemProperty propertyName)
public boolean getBooleanProperty(ThucydidesSystemProperty propertyName, boolean defaultValue)
public boolean getBooleanProperty(String propertyName, boolean defaultValue)
public Optional<String> getOptionalProperty(ThucydidesSystemProperty... properties)
public boolean propertyGroupIsDefinedFor(String propertyGroupName)
public static EnvironmentSpecificConfiguration from(EnvironmentVariables environmentVariables)
Copyright © 2023. All rights reserved.