public class EnvStringParseHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkStringForMacro(String macroName,
String inputString)
Resolves tools installation directory using global variables.
|
static String |
resolveExportedPath(String exportedPaths,
hudson.EnvVars environment)
Resolves tools installation directory using global variables.
|
static String |
resolveExportedPath(String exportedPaths,
hudson.model.Node node) |
static String |
substituteNodeProperty(String macroString,
hudson.slaves.NodeProperty<?> property)
Substitutes string according to node property.
|
public static String resolveExportedPath(@CheckForNull String exportedPaths, @Nonnull hudson.EnvVars environment)
environment - Collection of environment variablesexportedPaths - Input path with macro callspublic static String resolveExportedPath(@CheckForNull String exportedPaths, @Nonnull hudson.model.Node node)
public static String substituteNodeProperty(@CheckForNull String macroString, @CheckForNull hudson.slaves.NodeProperty<?> property)
macroString - String to be substitutedproperty - Node propertypublic static void checkStringForMacro(@CheckForNull
String macroName,
@CheckForNull
String inputString)
throws CustomToolException
inputString - Input path with macro callsmacroName - Input stringCustomToolException - String validation failedCopyright © 2004-2014. All Rights Reserved.