Enum Constant and Description |
---|
DIRECT
Signifies that this is a direct single-segment link.
|
EDGE
Signifies that this link is an edge, i.e.
|
INDIRECT
Signifies that this link is potentially comprised from multiple
underlying segments or hops, and as such should be used to tag
links traversing optical paths, tunnels or intervening 'dark'
switches.
|
OPTICAL
Signifies that this link is realized by fiber (either single channel or WDM).
|
TUNNEL
Signifies that this link represents a logical link backed by
some form of a tunnel, e.g., GRE, MPLS, ODUk, OCH.
|
VIRTUAL
Signifies that this link is a virtual link or a pseudo-wire.
|
Modifier and Type | Method and Description |
---|---|
static Link.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Link.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Link.Type DIRECT
public static final Link.Type INDIRECT
public static final Link.Type EDGE
public static final Link.Type TUNNEL
public static final Link.Type OPTICAL
public static final Link.Type VIRTUAL
public static Link.Type[] values()
for (Link.Type c : Link.Type.values()) System.out.println(c);
public static Link.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null