public enum SubscriptionResource extends Enum<SubscriptionResource>
Modifier and Type | Method and Description |
---|---|
static SubscriptionResource |
fromValue(String status) |
String |
toString() |
String |
value() |
static SubscriptionResource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionResource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionResource DSSD
public static final SubscriptionResource CPU
public static final SubscriptionResource MEM
public static final SubscriptionResource TX
public static final SubscriptionResource IP
public static final SubscriptionResource VLAN
public static SubscriptionResource[] values()
for (SubscriptionResource c : SubscriptionResource.values()) System.out.println(c);
public static SubscriptionResource 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 value()
public String toString()
toString
in class Enum<SubscriptionResource>
public static SubscriptionResource fromValue(String status)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.