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 classVersionParameterDefinition.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 ParameterValuecreateValue(String input)ParameterValuecreateValue(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)StringgetArtifactId()StringgetDescriptionOrCoords()StringgetGroupId()StringgetLimit()StringgetRepositoryId()List<String>getVersions()booleanisIncludeReleases()booleanisIncludeSnapshots()booleanisOldestFirst()booleanisUseLatest()booleanisUseRelease()voidsetIncludeReleases(boolean includeReleases)voidsetIncludeSnapshots(boolean includeSnapshots)voidsetLimit(String limit)voidsetOldestFirst(boolean oldestFirst)voidsetRepositoryId(String repositoryId)voidsetUseLatest(boolean useLatest)voidsetUseRelease(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:
createValuein classParameterDefinition
-
createValue
public ParameterValue createValue(String input)
- Specified by:
createValuein 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)
-
-