hudson.model
Class RunParameterValue
java.lang.Object
hudson.model.ParameterValue
hudson.model.RunParameterValue
- All Implemented Interfaces:
- Serializable
public class RunParameterValue
- extends ParameterValue
- See Also:
- Serialized Form
Methods inherited from class hudson.model.ParameterValue |
buildEnvVars, createBuildWrapper, createVariableResolver, equals, getAssignedLabel, getDefinition, getDescription, getName, hashCode, isSensitive, setDescription |
RunParameterValue
@DataBoundConstructor
public RunParameterValue(String name,
String runId,
String description)
RunParameterValue
public RunParameterValue(String name,
String runId)
getRun
public Run getRun()
getRunId
public String getRunId()
getJobName
@Exported
public String getJobName()
getNumber
@Exported
public String getNumber()
buildEnvVars
public void buildEnvVars(AbstractBuild<?,?> build,
EnvVars env)
- Exposes the name/value as an environment variable.
- Overrides:
buildEnvVars
in class ParameterValue
- Parameters:
build
- The build for which this parameter is being used. Never null.env
- never null.
toString
public String toString()
- Overrides:
toString
in class Object
getShortDescription
public String getShortDescription()
- Description copied from class:
ParameterValue
- Computes a human-readable possible-localized one-line description of the parameter value.
This message is used as a tooltip to describe jobs in the queue. The text should be one line without
new line. No HTML allowed (the caller will perform necessary HTML escapes, so any text can be returend.)
- Overrides:
getShortDescription
in class ParameterValue
Copyright © 2004-2013. All Rights Reserved.