public class EnvStringParseHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkStringForMacro(String stringName,
String exportedPaths)
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(String exportedPaths, hudson.EnvVars environment)
environment - Collection of environment variablesexportedPaths - Input path with macro callspublic static String resolveExportedPath(String exportedPaths, hudson.model.Node node)
public static String substituteNodeProperty(String macroString, hudson.slaves.NodeProperty<?> property)
macroString - String to be substitutedproperty - Node propertypublic static void checkStringForMacro(String stringName, String exportedPaths) throws CustomToolException
exportedPaths - Input path with macro callsCustomToolException - String validation failedCopyright © 2004-2013. All Rights Reserved.