public class

WebhookScopeAdapter

extends Object
implements WebhookScope
java.lang.Object
   ↳ com.atlassian.bitbucket.webhook.WebhookScopeAdapter

Class Overview

WebhookScope adapter for a application Scope scopes.

Summary

[Expand]
Inherited Constants
From interface com.atlassian.webhooks.WebhookScope
[Expand]
Inherited Fields
From interface com.atlassian.webhooks.WebhookScope
Public Methods
@Nonnull static WebhookScope adapt(Scope scope)
@Nonnull static Scope adapt(ProjectSupplier projectSupplier, RepositorySupplier repositorySupplier, WebhookScope webhookScope)
@Nonnull Optional<String> getId()
@Nonnull Scope getScope()
@Nonnull String getType()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.webhooks.WebhookScope

Public Methods

@Nonnull public static WebhookScope adapt (Scope scope)

@Nonnull public static Scope adapt (ProjectSupplier projectSupplier, RepositorySupplier repositorySupplier, WebhookScope webhookScope)

@Nonnull public Optional<String> getId ()

@Nonnull public Scope getScope ()

@Nonnull public String getType ()