Class CNFileRelease.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- hudson.plugins.collabnet.AbstractTeamForgeNotifier.DescriptorImpl
-
- hudson.plugins.collabnet.filerelease.CNFileRelease.DescriptorImpl
-
- Enclosing class:
- CNFileRelease
@Extension public static final class CNFileRelease.DescriptorImpl extends AbstractTeamForgeNotifier.DescriptorImpl
The CNFileRelease Descriptor class.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckPkg(CollabNetApp cna, String project, String pkg)
Form validation for package.FormValidation
doCheckRelease(CollabNetApp cna, String project, String pkg, String release)
Form validation for release.ComboBoxModel
doFillPkgItems(CollabNetApp cna, String project)
Gets a list of packages to choose from and write them as a JSON string into the response data.ComboBoxModel
doFillReleaseItems(CollabNetApp cna, String project, String _package)
Gets a list of releases to choose from and write them as a JSON string into the response data.String
getDisplayName()
-
Methods inherited from class hudson.plugins.collabnet.AbstractTeamForgeNotifier.DescriptorImpl
canInheritAuth, doCheckProject, doFillProjectItems, isApplicable
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Publisher>
- Returns:
- string to display for configuration screen.
-
doCheckPkg
public FormValidation doCheckPkg(CollabNetApp cna, @QueryParameter String project, @QueryParameter String pkg) throws IOException
Form validation for package.- Returns:
- the form validation
- Throws:
IOException
-
doCheckRelease
public FormValidation doCheckRelease(CollabNetApp cna, @QueryParameter String project, @QueryParameter String pkg, @QueryParameter String release) throws IOException
Form validation for release.- Returns:
- the form validation
- Throws:
IOException
-
doFillPkgItems
public ComboBoxModel doFillPkgItems(CollabNetApp cna, @QueryParameter String project) throws IOException
Gets a list of packages to choose from and write them as a JSON string into the response data.- Throws:
IOException
-
doFillReleaseItems
public ComboBoxModel doFillReleaseItems(CollabNetApp cna, @QueryParameter String project, @QueryParameter("pkg") String _package) throws IOException
Gets a list of releases to choose from and write them as a JSON string into the response data.- Throws:
IOException
-
-