public class ToolVersion extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULTS_SOURCE |
| Constructor and Description |
|---|
ToolVersion(String variableName,
String defaultVersion,
String actualVersion,
String versionSource) |
| Modifier and Type | Method and Description |
|---|---|
String |
getActualVersion() |
static ToolVersion |
getDefaultToolVersion(CustomTool tool) |
String |
getDefaultVersion() |
static ToolVersion |
getEffectiveToolVersion(CustomTool tool,
hudson.EnvVars buildEnv,
hudson.model.Node node)
Method gets effective tool version for the build
|
String |
getVariableName() |
String |
getVersionSource() |
boolean |
hasDefaultVersion() |
void |
setDefaultVersion(String defaultVersion) |
String |
toString() |
public static final String DEFAULTS_SOURCE
public boolean hasDefaultVersion()
public String getDefaultVersion()
public void setDefaultVersion(String defaultVersion)
public String getVariableName()
public String getActualVersion()
public String getVersionSource()
public static ToolVersion getDefaultToolVersion(CustomTool tool)
public static ToolVersion getEffectiveToolVersion(CustomTool tool, hudson.EnvVars buildEnv, hudson.model.Node node)
tool - Custom toolbuildEnv - Current build environmentnode - Node, where the build runsCopyright © 2004-2013. All Rights Reserved.