public static enum PolicyMap.Protocol extends Enum<PolicyMap.Protocol>
Enum Constant and Description |
---|
Http |
Im |
Imap |
P2p |
Pop3 |
Smtp |
Sunrpc |
Modifier and Type | Method and Description |
---|---|
static PolicyMap.Protocol |
forValue(int valueArg) |
int |
getIntValue() |
String |
getName()
Returns the name of the enumeration item as it is specified in the input yang.
|
static PolicyMap.Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PolicyMap.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolicyMap.Protocol Http
public static final PolicyMap.Protocol Im
public static final PolicyMap.Protocol Imap
public static final PolicyMap.Protocol P2p
public static final PolicyMap.Protocol Pop3
public static final PolicyMap.Protocol Smtp
public static final PolicyMap.Protocol Sunrpc
public static PolicyMap.Protocol[] values()
for (PolicyMap.Protocol c : PolicyMap.Protocol.values()) System.out.println(c);
public static PolicyMap.Protocol 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 getName()
public int getIntValue()
public static PolicyMap.Protocol forValue(int valueArg)
valueArg
- integer valueCopyright © 2017 OpenDaylight. All rights reserved.