public enum LicenseProduct extends Enum<LicenseProduct>
| Enum Constant and Description |
|---|
NA
Not applicable.
|
SDN_BASE_CNTR
Open flow controller device nodes .
|
SDN_SECURITY
Sentinel.
|
| Modifier and Type | Method and Description |
|---|---|
String |
displayName()
Get license product name
|
static LicenseProduct |
get(int id)
Find license product id by it's code.
|
static LicenseProduct |
get(String name)
Find license product enum by it's display name.
|
int |
id()
Get license product Id
|
static String |
productToString(int id)
Returns a product as a string.
|
static LicenseProduct |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LicenseProduct[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LicenseProduct NA
public static final LicenseProduct SDN_BASE_CNTR
public static final LicenseProduct SDN_SECURITY
public static LicenseProduct[] values()
for (LicenseProduct c : LicenseProduct.values()) System.out.println(c);
public static LicenseProduct 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 int id()
public String displayName()
public static LicenseProduct get(int id)
id - product idpublic static LicenseProduct get(String name)
name - product namepublic static String productToString(int id)
id - the license product idCopyright © 2014. All Rights Reserved.