public enum LicenseStatus extends Enum<LicenseStatus>
| Enum Constant and Description |
|---|
HAS_LICENSE_SP |
HAS_LICENSE_SURFMARKET |
NOT_NEEDED |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static LicenseStatus |
fromManage(String licenseStatus) |
String |
getName() |
String |
toString() |
static LicenseStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LicenseStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LicenseStatus HAS_LICENSE_SURFMARKET
public static final LicenseStatus HAS_LICENSE_SP
public static final LicenseStatus NOT_NEEDED
public static final LicenseStatus UNKNOWN
public static LicenseStatus[] values()
for (LicenseStatus c : LicenseStatus.values()) System.out.println(c);
public static LicenseStatus 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 static LicenseStatus fromManage(String licenseStatus)
public String getName()
public String toString()
toString in class Enum<LicenseStatus>Copyright © 2012–2021 Pivotal Software, Inc.. All rights reserved.