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