Enum TopologyLLDPDiscoveryProperty
- java.lang.Object
-
- java.lang.Enum<TopologyLLDPDiscoveryProperty>
-
- org.opendaylight.openflowplugin.applications.topology.lldp.TopologyLLDPDiscoveryProperty
-
- All Implemented Interfaces:
Serializable
,Comparable<TopologyLLDPDiscoveryProperty>
public enum TopologyLLDPDiscoveryProperty extends Enum<TopologyLLDPDiscoveryProperty>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LLDP_SECURE_KEY
TOPOLOGY_LLDP_EXPIRATION_INTERVAL
TOPOLOGY_LLDP_INTERVAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TopologyLLDPDiscoveryProperty
forValue(String key)
Get property type from property key.String
toString()
Converts enum name to property key.static TopologyLLDPDiscoveryProperty
valueOf(String name)
Returns the enum constant of this type with the specified name.static TopologyLLDPDiscoveryProperty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LLDP_SECURE_KEY
public static final TopologyLLDPDiscoveryProperty LLDP_SECURE_KEY
-
TOPOLOGY_LLDP_INTERVAL
public static final TopologyLLDPDiscoveryProperty TOPOLOGY_LLDP_INTERVAL
-
TOPOLOGY_LLDP_EXPIRATION_INTERVAL
public static final TopologyLLDPDiscoveryProperty TOPOLOGY_LLDP_EXPIRATION_INTERVAL
-
-
Method Detail
-
values
public static TopologyLLDPDiscoveryProperty[] 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 (TopologyLLDPDiscoveryProperty c : TopologyLLDPDiscoveryProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TopologyLLDPDiscoveryProperty 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
-
forValue
public static TopologyLLDPDiscoveryProperty forValue(String key)
Get property type from property key.- Parameters:
key
- the property key- Returns:
- the property type
-
toString
public String toString()
Converts enum name to property key.- Overrides:
toString
in classEnum<TopologyLLDPDiscoveryProperty>
- Returns:
- the property key
-
-