public enum AddonStatus extends Enum<AddonStatus> implements EnumWithKey
Addon is publicly visible, private, or pending approval.EnumWithKey.Parser<A extends EnumWithKey>| Enum Constant and Description |
|---|
PRIVATE
The add-on 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 add-on is visible to everyone.
|
REJECTED
The add-on was submitted for approval, but was rejected.
|
SUBMITTED
The add-on 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 AddonStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddonStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddonStatus PUBLIC
public static final AddonStatus PRIVATE
public static final AddonStatus SUBMITTED
public static final AddonStatus REJECTED
SUBMITTED (see
Addons.updateAddon(Addon, Addon)).public static AddonStatus[] values()
for (AddonStatus c : AddonStatus.values()) System.out.println(c);
public static AddonStatus 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.