@Extension public class CloudManagerWebHook extends Object implements UnprotectedRootAction
| Modifier and Type | Class and Description |
|---|---|
static class |
CloudManagerWebHook.CrumbExclusion
Excludes the WebHook from requiring CSRF tokens for a POST request.
|
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
CloudManagerWebHook() |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doIndex(org.kohsuke.stapler.StaplerRequest request,
CMEvent event)
Process a AIO WebHook Event.
|
String |
getDisplayName() |
String |
getIconFileName() |
String |
getUrlName() |
public static final String URL_NAME
public String getIconFileName()
getIconFileName in interface Actionpublic String getDisplayName()
getDisplayName in interface ActiongetDisplayName in interface ModelObjectpublic String getUrlName()
getUrlName in interface Actionpublic org.kohsuke.stapler.HttpResponse doIndex(org.kohsuke.stapler.StaplerRequest request,
@Nonnull @CMEventPayload
CMEvent event)
Calls any CloudManagerEventSubscriber extensions with the payload information.
These calls are performed asynchronously, as we don't want to block the calling request.
Copyright © 2020–2021 Adobe Inc. All rights reserved.