@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 Action
public String getDisplayName()
getDisplayName
in interface Action
getDisplayName
in interface ModelObject
public String getUrlName()
getUrlName
in interface Action
public 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.