Class PluginCommentAddedEvent.PluginCommentAddedEventDescriptor
java.lang.Object
hudson.model.Descriptor<PluginGerritEvent>
com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginGerritEvent.PluginGerritEventDescriptor
com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginCommentAddedEvent.PluginCommentAddedEventDescriptor
- Enclosing class:
- PluginCommentAddedEvent
@Extension
@Symbol("commentAdded")
public static class PluginCommentAddedEvent.PluginCommentAddedEventDescriptor
extends PluginGerritEvent.PluginGerritEventDescriptor
The Descriptor for the PluginCommentAddedEvent.
-
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 -
Method Summary
Modifier and TypeMethodDescriptiondoFillVerdictCategoryItems(String serverName) Fills the verdict category drop-down list.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
-
Constructor Details
-
PluginCommentAddedEventDescriptor
public PluginCommentAddedEventDescriptor()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<PluginGerritEvent>
-
doFillVerdictCategoryItems
public ListBoxModel doFillVerdictCategoryItems(@QueryParameter("serverName") @RelativePath("..") String serverName) Fills the verdict category drop-down list.- Parameters:
serverName- the name of the server selected in the "Choose Server" dropdown.- Returns:
- a ListBoxModel for the drop-down list.
-