Class VersionParameterDefinition
- java.lang.Object
-
- hudson.model.ParameterDefinition
-
- hudson.model.SimpleParameterDefinition
-
- org.jvnet.hudson.plugins.repositoryconnector.VersionParameterDefinition
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ParameterDefinition>
,Serializable
public class VersionParameterDefinition extends SimpleParameterDefinition
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VersionParameterDefinition.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.model.ParameterDefinition
ParameterDefinition.ParameterDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.ParameterDefinition
LIST
-
-
Constructor Summary
Constructors Constructor Description VersionParameterDefinition(String name, String description, String groupId, String artifactId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParameterValue
createValue(String input)
ParameterValue
createValue(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
String
getArtifactId()
String
getDescriptionOrCoords()
String
getGroupId()
String
getLimit()
String
getRepositoryId()
List<String>
getVersions()
boolean
isIncludeReleases()
boolean
isIncludeSnapshots()
boolean
isOldestFirst()
boolean
isUseLatest()
boolean
isUseRelease()
void
setIncludeReleases(boolean includeReleases)
void
setIncludeSnapshots(boolean includeSnapshots)
void
setLimit(String limit)
void
setOldestFirst(boolean oldestFirst)
void
setRepositoryId(String repositoryId)
void
setUseLatest(boolean useLatest)
void
setUseRelease(boolean useRelease)
-
Methods inherited from class hudson.model.SimpleParameterDefinition
createValue, createValue
-
Methods inherited from class hudson.model.ParameterDefinition
all, copyWithDefaultValue, getDefaultParameterValue, getDescription, getDescriptor, getFormattedDescription, getName, getType, isValid
-
-
-
-
Method Detail
-
createValue
public ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
- Specified by:
createValue
in classParameterDefinition
-
createValue
public ParameterValue createValue(String input)
- Specified by:
createValue
in classSimpleParameterDefinition
-
getArtifactId
@Exported public String getArtifactId()
-
getDescriptionOrCoords
@Exported public String getDescriptionOrCoords()
-
getGroupId
@Exported public String getGroupId()
-
getLimit
@Exported public String getLimit()
-
getRepositoryId
@Exported public String getRepositoryId()
-
isIncludeReleases
public boolean isIncludeReleases()
-
isIncludeSnapshots
public boolean isIncludeSnapshots()
-
isOldestFirst
public boolean isOldestFirst()
-
isUseLatest
public boolean isUseLatest()
-
isUseRelease
public boolean isUseRelease()
-
setIncludeReleases
@DataBoundSetter public void setIncludeReleases(boolean includeReleases)
-
setIncludeSnapshots
@DataBoundSetter public void setIncludeSnapshots(boolean includeSnapshots)
-
setLimit
@DataBoundSetter public void setLimit(String limit)
-
setOldestFirst
@DataBoundSetter public void setOldestFirst(boolean oldestFirst)
-
setRepositoryId
@DataBoundSetter public void setRepositoryId(String repositoryId)
-
setUseLatest
@DataBoundSetter public void setUseLatest(boolean useLatest)
-
setUseRelease
@DataBoundSetter public void setUseRelease(boolean useRelease)
-
-