public enum BitbucketType extends Enum<BitbucketType>
Modifier and Type | Method and Description |
---|---|
static BitbucketType |
fromString(String key) |
String |
getKey() |
static BitbucketType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BitbucketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BitbucketType CLOUD
public static final BitbucketType SERVER
public static BitbucketType[] values()
for (BitbucketType c : BitbucketType.values()) System.out.println(c);
public static BitbucketType 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 nullpublic String getKey()
@CheckForNull public static BitbucketType fromString(String key)
Copyright © 2016–2022. All rights reserved.