Interface EnvironmentVariableResolver

    • Method Detail

      • getEnv

        String getEnv​(String sVarName)
        Return the value of the specified environment variable.
        Parameters:
        sVarName - the name of the environment variable to return
        Returns:
        the value of the specified environment variable
      • getEnv

        default String getEnv​(String sVarName,
                              String sDefaultValue)
        Return the value of the specified environment variable, or the specified default value if the variable doesn't exist.
        Parameters:
        sVarName - the name of the environment variable to return
        sDefaultValue - the default value to return if the variable doesn't exist
        Returns:
        the value of the specified environment variable, or the specified default value if the variable doesn't exist