Enum BitbucketWebhookEvent
- java.lang.Object
-
- java.lang.Enum<BitbucketWebhookEvent>
-
- com.atlassian.bitbucket.jenkins.internal.trigger.events.BitbucketWebhookEvent
-
- All Implemented Interfaces:
Serializable
,Comparable<BitbucketWebhookEvent>
public enum BitbucketWebhookEvent extends Enum<BitbucketWebhookEvent>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIAGNOSTICS_PING
MIRROR_SYNCHRONIZED
PULL_REQUEST_DECLINED
PULL_REQUEST_DELETED
PULL_REQUEST_FROM_REF_UPDATED
PULL_REQUEST_MERGED
PULL_REQUEST_OPENED
REPO_REF_CHANGE
UNSUPPORTED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BitbucketWebhookEvent
findByEventId(String eventId)
String
getEventId()
static BitbucketWebhookEvent
valueOf(String name)
Returns the enum constant of this type with the specified name.static BitbucketWebhookEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPO_REF_CHANGE
public static final BitbucketWebhookEvent REPO_REF_CHANGE
-
MIRROR_SYNCHRONIZED
public static final BitbucketWebhookEvent MIRROR_SYNCHRONIZED
-
DIAGNOSTICS_PING
public static final BitbucketWebhookEvent DIAGNOSTICS_PING
-
PULL_REQUEST_DECLINED
public static final BitbucketWebhookEvent PULL_REQUEST_DECLINED
-
PULL_REQUEST_DELETED
public static final BitbucketWebhookEvent PULL_REQUEST_DELETED
-
PULL_REQUEST_FROM_REF_UPDATED
public static final BitbucketWebhookEvent PULL_REQUEST_FROM_REF_UPDATED
-
PULL_REQUEST_MERGED
public static final BitbucketWebhookEvent PULL_REQUEST_MERGED
-
PULL_REQUEST_OPENED
public static final BitbucketWebhookEvent PULL_REQUEST_OPENED
-
UNSUPPORTED
public static final BitbucketWebhookEvent UNSUPPORTED
-
-
Method Detail
-
values
public static BitbucketWebhookEvent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BitbucketWebhookEvent c : BitbucketWebhookEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BitbucketWebhookEvent valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getEventId
public String getEventId()
-
findByEventId
public static BitbucketWebhookEvent findByEventId(String eventId)
-
-