public enum DiscoveryProtocol extends Enum<DiscoveryProtocol>
Enum Constant and Description |
---|
bridge |
cdp |
iproute |
isis |
lldp |
NA |
ospf |
wifi |
Modifier and Type | Method and Description |
---|---|
static DiscoveryProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiscoveryProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiscoveryProtocol bridge
public static final DiscoveryProtocol cdp
public static final DiscoveryProtocol iproute
public static final DiscoveryProtocol lldp
public static final DiscoveryProtocol ospf
public static final DiscoveryProtocol isis
public static final DiscoveryProtocol wifi
public static final DiscoveryProtocol NA
public static DiscoveryProtocol[] values()
for (DiscoveryProtocol c : DiscoveryProtocol.values()) System.out.println(c);
public static DiscoveryProtocol 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 nullCopyright © 2021. All rights reserved.