Package io.jenkins.plugins.util
Klasse EnvironmentResolver
java.lang.Object
io.jenkins.plugins.util.EnvironmentResolver
Resolves environment parameters in a string value.
- Autor:
- Ullrich Hafner
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungexpandEnvironmentVariables(EnvVars environment, String nonExpandedValue) Resolves build parameters in the specified string value toresolveVariablesDepthtimes.
-
Konstruktordetails
-
EnvironmentResolver
public EnvironmentResolver()Creates a new instance ofEnvironmentResolver. Attempts up toRESOLVE_VARIABLE_DEPTH_DEFAULTtimes to resolve a variable.
-
-
Methodendetails
-
expandEnvironmentVariables
public String expandEnvironmentVariables(@CheckForNull EnvVars environment, String nonExpandedValue) Resolves build parameters in the specified string value toresolveVariablesDepthtimes.- Parameter:
environment- environment variablesnonExpandedValue- the value to expand- Gibt zurück:
- the expanded value
-