public enum WebhookRegistration extends Enum<WebhookRegistration>
Enum Constant and Description |
---|
DISABLE
Disable webhook registration.
|
ITEM
Use the item scoped credentials to register the webhook.
|
SYSTEM
Use the global system configuration for webhook registration.
|
Modifier and Type | Method and Description |
---|---|
static WebhookRegistration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebhookRegistration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebhookRegistration DISABLE
public static final WebhookRegistration SYSTEM
BitbucketEndpointConfiguration
does not have webhook registration configured then this will be the same as DISABLE
)public static final WebhookRegistration ITEM
public static WebhookRegistration[] values()
for (WebhookRegistration c : WebhookRegistration.values()) System.out.println(c);
public static WebhookRegistration valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016–2022. All rights reserved.