Class BitbucketWebhookConfigurationsBuilder
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfigurationsBuilder
Provider of
BitbucketWebhookConfiguration builders registered in the
system.- Since:
- 937.1.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns aBitbucketWebhookConfigurationbuilder for the given configuration identifier.static <T extends BitbucketWebhookConfigurationBuilder>
TReturns aBitbucketWebhookConfigurationbuilder for the given configuration identifier.
-
Method Details
-
lookup
@Nullable public static <T extends BitbucketWebhookConfigurationBuilder> T lookup(@NonNull String id, Class<T> builderInterface) Returns aBitbucketWebhookConfigurationbuilder 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,nullotherwise if no builder found with the given paramenters.
-
lookup
Returns aBitbucketWebhookConfigurationbuilder for the given configuration identifier.- Parameters:
id- webhook configuration identifier- Returns:
- an instance of
BitbucketWebhookConfigurationBuilder,nullotherwise if no builder found.
-