Package hudson.plugins.collabnet.tracker
Class CNTracker.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- hudson.plugins.collabnet.AbstractTeamForgeNotifier.DescriptorImpl
-
- hudson.plugins.collabnet.tracker.CNTracker.DescriptorImpl
-
- Enclosing class:
- CNTracker
@Extension public static final class CNTracker.DescriptorImpl extends AbstractTeamForgeNotifier.DescriptorImpl
-
-
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
doCheckAssignUser(CollabNetApp cna, String project, String assignUser)
Form validation for "assign issue to".FormValidation
doCheckRelease(CollabNetApp cna, String project, String rpackage, String release)
Form validation for the release field.FormValidation
doCheckTracker(CollabNetApp cna, String project, String tracker)
Form validation for the tracker field.ComboBoxModel
doFillAssignUserItems(CollabNetApp cna, String project)
Gets a list of projectUsers 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.ComboBoxModel
doFillTrackerItems(CollabNetApp cna, String project)
Gets a list of trackers to choose from and write them as a JSON string into the response data.FormValidation
doRequiredInterpretedCheck(String value, String name)
Form validation for the comment and description.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:
- human readable name used in the configuration screen.
-
doCheckTracker
public FormValidation doCheckTracker(CollabNetApp cna, @QueryParameter String project, @QueryParameter String tracker) throws IOException
Form validation for the tracker field.- Throws:
IOException
-
doCheckAssignUser
public FormValidation doCheckAssignUser(CollabNetApp cna, @QueryParameter String project, @QueryParameter String assignUser) throws IOException
Form validation for "assign issue to".- Throws:
IOException
-
doRequiredInterpretedCheck
public FormValidation doRequiredInterpretedCheck(@QueryParameter String value, @QueryParameter String name) throws FormValidation
Form validation for the comment and description.- Parameters:
value
- of fieldname
- of field- Throws:
FormValidation
-
doCheckRelease
public FormValidation doCheckRelease(CollabNetApp cna, @QueryParameter String project, @QueryParameter("package") String rpackage, @QueryParameter String release) throws IOException
Form validation for the release field.- Throws:
IOException
-
doFillTrackerItems
public ComboBoxModel doFillTrackerItems(CollabNetApp cna, @QueryParameter String project) throws IOException
Gets a list of trackers to choose from and write them as a JSON string into the response data.- Throws:
IOException
-
doFillAssignUserItems
public ComboBoxModel doFillAssignUserItems(CollabNetApp cna, @QueryParameter String project) throws IOException
Gets a list of projectUsers 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("package") 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
-
-