Class BitbucketWebhookConfigurationsBuilder
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfigurationsBuilder
@Restricted(org.kohsuke.accmod.restrictions.Beta.class)
public final class BitbucketWebhookConfigurationsBuilder
extends Object
Provider of
BitbucketWebhookConfiguration
builders registered in the
system.- Since:
- 937.1.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns aBitbucketWebhookConfiguration
builder for the given configuration identifier.static <T extends BitbucketWebhookConfigurationBuilder>
TReturns aBitbucketWebhookConfiguration
builder for the given configuration identifier.
-
Method Details
-
lookup
@Nullable public static <T extends BitbucketWebhookConfigurationBuilder> T lookup(@NonNull String id, Class<T> builderInterface) Returns aBitbucketWebhookConfiguration
builder for the given configuration identifier.- Type Parameters:
T
- specific builder interface- Parameters:
id
- webhook configuration identifierbuilderInterface
- class of specific builder- Returns:
- an instance of
BitbucketWebhookConfigurationBuilder
,null
otherwise if no builder found with the given paramenters.
-
lookup
Returns aBitbucketWebhookConfiguration
builder for the given configuration identifier.- Parameters:
id
- webhook configuration identifier- Returns:
- an instance of
BitbucketWebhookConfigurationBuilder
,null
otherwise if no builder found.
-