Class SlackChannel.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<NotificationChannel>
io.jenkins.plugins.interactiveinput.notify.SlackChannel.DescriptorImpl
- Enclosing class:
SlackChannel
@Extension
@Symbol("slack")
public static final class SlackChannel.DescriptorImpl
extends Descriptor<NotificationChannel>
-
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 TypeMethodDescriptiondoFillWebhookCredentialsIdItems(Item item, String webhookCredentialsId) Secret-text credentials dropdown.Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<NotificationChannel>
-
doFillWebhookCredentialsIdItems
@POST @NonNull public ListBoxModel doFillWebhookCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String webhookCredentialsId) Secret-text credentials dropdown.@POSTso the Jenkins Security Scan CSRF check accepts it (core already POSTsf:selectfills). Permission-checked insideWebhookCredentials.listBox(hudson.model.Item, java.lang.String):Item.CONFIGUREon the job, orJenkins.ADMINISTERwhen there is no item. Does not contact the webhook.
-