public class ToolVersionParameterDefinition
extends hudson.model.ParameterDefinition
| Modifier and Type | Class and Description |
|---|---|
static class |
ToolVersionParameterDefinition.DescriptorImpl |
| Constructor and Description |
|---|
ToolVersionParameterDefinition(String toolName) |
| Modifier and Type | Method and Description |
|---|---|
hudson.model.ParameterValue |
createValue(hudson.cli.CLICommand command,
String value) |
hudson.model.StringParameterValue |
createValue(org.kohsuke.stapler.StaplerRequest req) |
hudson.model.StringParameterValue |
createValue(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jo) |
hudson.model.ParameterValue |
getDefaultParameterValue() |
CustomTool |
getTool()
Gets a
CustomTool linked with this Parameter definition. |
String |
getToolName() |
ToolVersionConfig |
getVersionConfig()
Gets a Tool Version configuration for the parameter definition.
|
@DataBoundConstructor public ToolVersionParameterDefinition(String toolName)
public String getToolName()
@CheckForNull public final CustomTool getTool()
CustomTool linked with this Parameter definition.@CheckForNull public final ToolVersionConfig getVersionConfig()
public hudson.model.StringParameterValue createValue(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jo)
throws IllegalStateException
createValue in class hudson.model.ParameterDefinitionIllegalStateExceptionpublic hudson.model.StringParameterValue createValue(org.kohsuke.stapler.StaplerRequest req)
createValue in class hudson.model.ParameterDefinitionpublic hudson.model.ParameterValue createValue(hudson.cli.CLICommand command,
String value)
throws IOException,
InterruptedException
createValue in class hudson.model.ParameterDefinitionIOExceptionInterruptedExceptionpublic hudson.model.ParameterValue getDefaultParameterValue()
getDefaultParameterValue in class hudson.model.ParameterDefinitionCopyright © 2004-2014. All Rights Reserved.