Enum BitbucketCloudWebhooksXEventHeader
- java.lang.Object
-
- java.lang.Enum<BitbucketCloudWebhooksXEventHeader>
-
- com.atlassian.bamboo.plugins.bitbucket.v2.webhooks.resource.BitbucketCloudWebhooksXEventHeader
-
- All Implemented Interfaces:
Serializable
,Comparable<BitbucketCloudWebhooksXEventHeader>
public enum BitbucketCloudWebhooksXEventHeader extends Enum<BitbucketCloudWebhooksXEventHeader>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PULLREQUEST_CREATED
PULLREQUEST_FULFILLED
PULLREQUEST_RECJECTED
PULLREQUEST_UPDATED
REPO_PUSH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<BitbucketCloudWebhooksXEventHeader>
getByName(@Nullable String name)
static List<String>
getValues()
String
toString()
static BitbucketCloudWebhooksXEventHeader
valueOf(String name)
Returns the enum constant of this type with the specified name.static BitbucketCloudWebhooksXEventHeader[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPO_PUSH
public static final BitbucketCloudWebhooksXEventHeader REPO_PUSH
-
PULLREQUEST_CREATED
public static final BitbucketCloudWebhooksXEventHeader PULLREQUEST_CREATED
-
PULLREQUEST_UPDATED
public static final BitbucketCloudWebhooksXEventHeader PULLREQUEST_UPDATED
-
PULLREQUEST_FULFILLED
public static final BitbucketCloudWebhooksXEventHeader PULLREQUEST_FULFILLED
-
PULLREQUEST_RECJECTED
public static final BitbucketCloudWebhooksXEventHeader PULLREQUEST_RECJECTED
-
-
Method Detail
-
values
public static BitbucketCloudWebhooksXEventHeader[] 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 (BitbucketCloudWebhooksXEventHeader c : BitbucketCloudWebhooksXEventHeader.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BitbucketCloudWebhooksXEventHeader 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<BitbucketCloudWebhooksXEventHeader>
-
getByName
public static Optional<BitbucketCloudWebhooksXEventHeader> getByName(@Nullable @Nullable String name)
-
-