Enum ProtocolSupported
- java.lang.Object
-
- java.lang.Enum<ProtocolSupported>
-
- org.opennms.netmgt.enlinkd.service.api.ProtocolSupported
-
- All Implemented Interfaces:
Serializable
,Comparable<ProtocolSupported>
public enum ProtocolSupported extends Enum<ProtocolSupported>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProtocolSupported
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProtocolSupported[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LLDP
public static final ProtocolSupported LLDP
-
OSPF
public static final ProtocolSupported OSPF
-
ISIS
public static final ProtocolSupported ISIS
-
BRIDGE
public static final ProtocolSupported BRIDGE
-
CDP
public static final ProtocolSupported CDP
-
NODES
public static final ProtocolSupported NODES
-
USERDEFINED
public static final ProtocolSupported USERDEFINED
-
-
Method Detail
-
values
public static ProtocolSupported[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ProtocolSupported c : ProtocolSupported.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProtocolSupported valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-