Class EnvironmentResolver


  • public class EnvironmentResolver
    extends Object
    Resolves environment parameters in a string value.
    Author:
    Ullrich Hafner
    • Method Detail

      • expandEnvironmentVariables

        public String expandEnvironmentVariables​(@CheckForNull
                                                 EnvVars environment,
                                                 String nonExpandedValue)
        Resolves build parameters in the specified string value to resolveVariablesDepth times.
        Parameters:
        environment - environment variables
        nonExpandedValue - the value to expand
        Returns:
        the expanded value