Class PostWebhooksManager
java.lang.Object
io.jenkins.plugins.bitbucket.webhook.moveworkforward.v1.PostWebhooksManager
- All Implemented Interfaces:
com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookManager,ExtensionPoint
@Extension
public class PostWebhooksManager
extends Object
implements com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfiguration configuration) voidapply(jenkins.scm.api.trait.SCMSourceTrait trait) Collection<com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketWebHook>read(com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketAuthenticatedClient client) voidregister(com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketAuthenticatedClient client) voidremove(String webhookId, com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketAuthenticatedClient client) voidsetCallbackURL(String callbackURL, com.cloudbees.jenkins.plugins.bitbucket.api.endpoint.BitbucketEndpoint endpoint) Collection<Class<? extends jenkins.scm.api.trait.SCMSourceTrait>>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookManager
withTraits
-
Constructor Details
-
PostWebhooksManager
public PostWebhooksManager()
-
-
Method Details
-
supportedTraits
- Specified by:
supportedTraitsin interfacecom.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookManager
-
apply
public void apply(jenkins.scm.api.trait.SCMSourceTrait trait) - Specified by:
applyin interfacecom.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookManager
-
apply
public void apply(com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfiguration configuration) - Specified by:
applyin interfacecom.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookManager
-
setCallbackURL
public void setCallbackURL(@NonNull String callbackURL, @NonNull com.cloudbees.jenkins.plugins.bitbucket.api.endpoint.BitbucketEndpoint endpoint) - Specified by:
setCallbackURLin interfacecom.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookManager
-
read
@NonNull public Collection<com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketWebHook> read(@NonNull com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketAuthenticatedClient client) throws IOException - Specified by:
readin interfacecom.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookManager- Throws:
IOException
-
remove
public void remove(@NonNull String webhookId, @NonNull com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketAuthenticatedClient client) throws IOException - Specified by:
removein interfacecom.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookManager- Throws:
IOException
-
register
public void register(@NonNull com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketAuthenticatedClient client) throws IOException - Specified by:
registerin interfacecom.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookManager- Throws:
IOException
-