public static enum LicensedApplication.PlanEnum extends Enum<LicensedApplication.PlanEnum>
| Enum Constant and Description |
|---|
FREE |
PAID |
UNLICENSED |
| Modifier and Type | Method and Description |
|---|---|
static LicensedApplication.PlanEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static LicensedApplication.PlanEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LicensedApplication.PlanEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LicensedApplication.PlanEnum UNLICENSED
public static final LicensedApplication.PlanEnum FREE
public static final LicensedApplication.PlanEnum PAID
public static LicensedApplication.PlanEnum[] values()
for (LicensedApplication.PlanEnum c : LicensedApplication.PlanEnum.values()) System.out.println(c);
public static LicensedApplication.PlanEnum 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<LicensedApplication.PlanEnum>public static LicensedApplication.PlanEnum fromValue(String value)
Copyright © 2011–2021 Everit Kft.. All rights reserved.