public enum AddonVersionStatus extends Enum<AddonVersionStatus> implements EnumWithKey
AddonVersion is publicly visible, private, or pending approval.EnumWithKey.Parser<A extends EnumWithKey>| Enum Constant and Description |
|---|
PRIVATE
The version is visible only to users associated with its vendor; it can also be installed
by anyone who has received an access token from the vendor.
|
PUBLIC
The version is visible to everyone.
|
SUBMITTED
The version is pending approval, and will become public once it has been approved.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
The string key that represents this value in the Marketplace API.
|
static AddonVersionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddonVersionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddonVersionStatus PUBLIC
public static final AddonVersionStatus PRIVATE
public static final AddonVersionStatus SUBMITTED
public static AddonVersionStatus[] values()
for (AddonVersionStatus c : AddonVersionStatus.values()) System.out.println(c);
public static AddonVersionStatus 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()
EnumWithKeygetKey in interface EnumWithKeyCopyright © 2016 Atlassian. All rights reserved.