Class BitbucketWebhookEndpoint
- java.lang.Object
-
- com.atlassian.bitbucket.jenkins.internal.trigger.BitbucketWebhookEndpoint
-
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
,RootAction
,UnprotectedRootAction
@Extension public class BitbucketWebhookEndpoint extends Object implements UnprotectedRootAction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static String
BIBUCKET_WEBHOOK_URL
static String
X_EVENT_KEY
-
Constructor Summary
Constructors Constructor Description BitbucketWebhookEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kohsuke.stapler.HttpResponse
doTrigger(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
String
getDisplayName()
String
getIconFileName()
String
getUrlName()
-
-
-
Field Detail
-
BIBUCKET_WEBHOOK_URL
public static final String BIBUCKET_WEBHOOK_URL
- See Also:
- Constant Field Values
-
X_EVENT_KEY
public static final String X_EVENT_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
doTrigger
@POST public org.kohsuke.stapler.HttpResponse doTrigger(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
-
getDisplayName
@CheckForNull public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getIconFileName
@CheckForNull public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getUrlName
@CheckForNull public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
-