public static enum Tier.TierPlanEnum extends Enum<Tier.TierPlanEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
Tier.TierPlanEnum.Adapter |
| Enum Constant and Description |
|---|
COMMERCIAL |
FREE |
| Modifier and Type | Method and Description |
|---|---|
static Tier.TierPlanEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static Tier.TierPlanEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tier.TierPlanEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tier.TierPlanEnum FREE
public static final Tier.TierPlanEnum COMMERCIAL
public static Tier.TierPlanEnum[] values()
for (Tier.TierPlanEnum c : Tier.TierPlanEnum.values()) System.out.println(c);
public static Tier.TierPlanEnum 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 getValue()
public String toString()
toString in class Enum<Tier.TierPlanEnum>public static Tier.TierPlanEnum fromValue(String text)
Copyright © 2018 WSO2. All rights reserved.