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