public class ToolVersionParameterDefinition extends ParameterDefinition
Modifier and Type | Class and Description |
---|---|
static class |
ToolVersionParameterDefinition.DescriptorImpl |
ParameterDefinition.ParameterDescriptor
ExtensionPoint.LegacyInstancesAreScopedToHudson
LIST
Constructor and Description |
---|
ToolVersionParameterDefinition(String toolName) |
Modifier and Type | Method and Description |
---|---|
ParameterValue |
createValue(CLICommand command,
String value) |
StringParameterValue |
createValue(org.kohsuke.stapler.StaplerRequest req) |
StringParameterValue |
createValue(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jo) |
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.
|
all, copyWithDefaultValue, getDescription, getDescriptor, getFormattedDescription, getName, getType
@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 StringParameterValue createValue(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jo) throws IllegalStateException
createValue
in class ParameterDefinition
IllegalStateException
public StringParameterValue createValue(org.kohsuke.stapler.StaplerRequest req)
createValue
in class ParameterDefinition
public ParameterValue createValue(CLICommand command, String value) throws IOException, InterruptedException
createValue
in class ParameterDefinition
IOException
InterruptedException
public ParameterValue getDefaultParameterValue()
getDefaultParameterValue
in class ParameterDefinition
Copyright © 2016–2021. All rights reserved.