public class PackageParameterDefinition
extends hudson.model.SimpleParameterDefinition
Modifier and Type | Class and Description |
---|---|
static class |
PackageParameterDefinition.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
static PackageParameterDefinition.DescriptorImpl |
DESCRIPTOR |
Constructor and Description |
---|
PackageParameterDefinition(String name,
String description,
String rep,
String pkg) |
Modifier and Type | Method and Description |
---|---|
hudson.model.ParameterValue |
createValue(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jo) |
hudson.model.ParameterValue |
createValue(String value) |
List<String> |
getChoices() |
PackageParameterDefinition.DescriptorImpl |
getDescriptor() |
String |
getPkg() |
String |
getRep() |
@Extension public static final PackageParameterDefinition.DescriptorImpl DESCRIPTOR
public hudson.model.ParameterValue createValue(String value)
createValue
in class hudson.model.SimpleParameterDefinition
public hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jo)
createValue
in class hudson.model.ParameterDefinition
@Exported public List<String> getChoices() throws JAXBException, IOException
JAXBException
IOException
public String getRep()
public String getPkg()
public PackageParameterDefinition.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.model.ParameterDefinition>
getDescriptor
in class hudson.model.ParameterDefinition
Copyright © 2016–2017. All rights reserved.