public class BPBuildEnv extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
ENV_BUILD_NUMBER |
static String |
ENV_JOB_NAME |
static String |
ENV_NODE_NAME |
Constructor and Description |
---|
BPBuildEnv() |
BPBuildEnv(TreeMap<String,String> envVars,
hudson.FilePath baseDirectory,
Calendar buildTime) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.lang.builder.ToStringBuilder |
addToToString(org.apache.commons.lang.builder.ToStringBuilder builder) |
void |
fixMasterNodeName(String masterNodeName) |
hudson.FilePath |
getBaseDirectory() |
Calendar |
getBuildTime() |
TreeMap<String,String> |
getEnvVars() |
TreeMap<String,String> |
getEnvVarsWithPrefix(String prefix) |
String |
getNormalizedBaseDirectory() |
void |
logEnvVars() |
void |
setBaseDirectory(hudson.FilePath baseDirectory) |
void |
setBuildTime(Calendar buildTime) |
void |
setEnvVars(TreeMap<String,String> envVars) |
String |
toString() |
public static final String ENV_NODE_NAME
public static final String ENV_JOB_NAME
public static final String ENV_BUILD_NUMBER
public hudson.FilePath getBaseDirectory()
public void setBaseDirectory(hudson.FilePath baseDirectory)
public Calendar getBuildTime()
public void setBuildTime(Calendar buildTime)
public void logEnvVars()
public void fixMasterNodeName(String masterNodeName)
public String getNormalizedBaseDirectory()
protected org.apache.commons.lang.builder.ToStringBuilder addToToString(org.apache.commons.lang.builder.ToStringBuilder builder)
Copyright © 2016–2018. All rights reserved.