Class EnvironmentSpecificConfiguration

java.lang.Object
net.serenitybdd.core.environment.EnvironmentSpecificConfiguration

public class EnvironmentSpecificConfiguration
extends java.lang.Object
  • Constructor Details

    • EnvironmentSpecificConfiguration

      public EnvironmentSpecificConfiguration​(EnvironmentVariables environmentVariables)
  • Method Details

    • getPropertiesWithPrefix

      public java.util.Properties getPropertiesWithPrefix​(java.lang.String prefix)
    • areDefinedIn

      public static boolean areDefinedIn​(EnvironmentVariables environmentVariables)
    • getProperty

      public java.lang.String getProperty​(java.lang.String propertyName)
    • getOptionalProperty

      public java.util.Optional<java.lang.String> getOptionalProperty​(ThucydidesSystemProperty propertyName)
    • getProperty

      public java.lang.String getProperty​(ThucydidesSystemProperty propertyName)
    • getIntegerProperty

      public java.lang.Integer getIntegerProperty​(ThucydidesSystemProperty propertyName)
    • getOptionalProperty

      public java.util.Optional<java.lang.String> getOptionalProperty​(java.lang.String... propertyNames)
    • getPropertyValue

      public java.lang.String getPropertyValue​(java.lang.String propertyName)
    • from

      public static EnvironmentSpecificConfiguration from​(EnvironmentVariables environmentVariables)