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