Class BitBucketPPRHandlerTemplate
java.lang.Object
io.jenkins.plugins.bitbucketpushandpullrequest.observer.BitBucketPPRHandlerTemplate
- Direct Known Subclasses:
BitBucketPPRPullRequestCloudObserver,BitBucketPPRPullRequestServerObserver,BitBucketPPRPushCloudObserver,BitBucketPPRPushServerObserver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BitBucketPPRClientTypeprotected BitBucketPPREventContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcallClient(com.github.scribejava.core.model.Verb verb, String url, Map<String, String> payload) protected voidcallClient(String url, Map<String, String> payload) protected Stringprotected BitBucketPPRPluginConfigvoidrun(BitBucketPPREventType eventType) voidabstract voidabstract void
-
Field Details
-
context
-
clientType
-
-
Constructor Details
-
BitBucketPPRHandlerTemplate
public BitBucketPPRHandlerTemplate()
-
-
Method Details
-
run
- Throws:
Exception
-
setApprovedOrDeclined
- Throws:
MalformedURLException
-
setBuildStatusOnFinished
- Throws:
MalformedURLException
-
setBuildStatusInProgress
- Throws:
MalformedURLException
-
getGlobalConfig
-
computeBitBucketBuildKey
-
callClient
-
callClient
-