public class ListSubversionTagsParameterDefinition
extends hudson.model.ParameterDefinition
ParameterDefinition to be displayed at the top of the
configuration page of Jobs.
When used, this parameter will request the user to select a Subversion tag
at build-time by displaying a drop-down list. See
ListSubversionTagsParameterValue.
| Modifier and Type | Class and Description |
|---|---|
static class |
ListSubversionTagsParameterDefinition.DescriptorImpl |
| Constructor and Description |
|---|
ListSubversionTagsParameterDefinition(String name,
String tagsDir,
String tagsFilter,
String defaultValue,
String maxTags,
boolean reverseByDate,
boolean reverseByName,
String uuid)
Deprecated.
|
ListSubversionTagsParameterDefinition(String name,
String tagsDir,
String tagsFilter,
String defaultValue,
String maxTags,
boolean reverseByDate,
boolean reverseByName,
String uuid,
String credentialsId)
Deprecated.
|
ListSubversionTagsParameterDefinition(String name,
String tagsDir,
String credentialsId,
String tagsFilter,
String defaultValue,
String maxTags,
boolean reverseByDate,
boolean reverseByName) |
| Modifier and Type | Method and Description |
|---|---|
hudson.model.ParameterValue |
createValue(org.kohsuke.stapler.StaplerRequest req) |
hudson.model.ParameterValue |
createValue(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
String |
getCredentialsId() |
hudson.model.ParameterValue |
getDefaultParameterValue() |
String |
getDefaultValue() |
ListSubversionTagsParameterDefinition.DescriptorImpl |
getDescriptor() |
String |
getMaxTags() |
List<String> |
getTags(hudson.model.Job context)
Returns a list of Subversion dirs to be displayed in
ListSubversionTagsParameterDefinition/index.jelly. |
String |
getTagsDir() |
String |
getTagsFilter() |
boolean |
isReverseByDate() |
boolean |
isReverseByName() |
protected void |
removeParentDir(List<String> dirs)
Removes the parent directory (that is, the tags directory) from a list of
directories.
|
@Deprecated public ListSubversionTagsParameterDefinition(String name, String tagsDir, String tagsFilter, String defaultValue, String maxTags, boolean reverseByDate, boolean reverseByName, String uuid)
@Deprecated public ListSubversionTagsParameterDefinition(String name, String tagsDir, String tagsFilter, String defaultValue, String maxTags, boolean reverseByDate, boolean reverseByName, String uuid, String credentialsId)
public hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req)
createValue in class hudson.model.ParameterDefinitionpublic hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
createValue in class hudson.model.ParameterDefinitionpublic hudson.model.ParameterValue getDefaultParameterValue()
getDefaultParameterValue in class hudson.model.ParameterDefinitionpublic ListSubversionTagsParameterDefinition.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.model.ParameterDefinition>getDescriptor in class hudson.model.ParameterDefinition@Nonnull public List<String> getTags(@Nullable hudson.model.Job context)
ListSubversionTagsParameterDefinition/index.jelly.
This method plainly reuses settings that must have been previously defined when configuring the Subversion SCM.
This method never returns null. In case an error happens, the
returned list contains an error message prefixed by !.
public String getTagsDir()
public String getCredentialsId()
public String getTagsFilter()
public boolean isReverseByDate()
public boolean isReverseByName()
public String getDefaultValue()
public String getMaxTags()
Copyright © 2004–2015. All rights reserved.