public enum Cost extends Enum<Cost> implements EnumWithKey
EnumWithKey.Parser<A extends EnumWithKey>| Enum Constant and Description |
|---|
ALL_PAID
Restricts the query to add-ons whose payment model is either
PaymentModel.PAID_VIA_VENDOR or PaymentModel.PAID_VIA_ATLASSIAN. |
FREE
Restricts the query to add-ons whose payment model is
PaymentModel.FREE. |
PAID_VIA_ATLASSIAN
Restricts the query to add-ons whose payment model is
PaymentModel.PAID_VIA_ATLASSIAN. |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
The string key that represents this value in the Marketplace API.
|
static Cost |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cost[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cost FREE
PaymentModel.FREE.public static final Cost ALL_PAID
PaymentModel.PAID_VIA_VENDOR or PaymentModel.PAID_VIA_ATLASSIAN.public static final Cost PAID_VIA_ATLASSIAN
PaymentModel.PAID_VIA_ATLASSIAN.public static Cost[] values()
for (Cost c : Cost.values()) System.out.println(c);
public static Cost 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.