public static enum Port.Type extends Enum<Port.Type>
Enum Constant and Description |
---|
COPPER
Signifies copper-based connectivity.
|
FIBER
Signifies optical fiber-based connectivity.
|
OCH
Signifies optical fiber-based Line-side port (called L-port).
|
ODUCLT
Signifies optical fiber-based optical tributary port (called T-port).
|
OMS
Signifies optical fiber-based WDM port (called W-port).
|
OTU
Signifies optical fiber-based OTN port.
|
PACKET
Signifies optical fiber-based packet port.
|
VIRTUAL
Signifies virtual port.
|
Modifier and Type | Method and Description |
---|---|
static Port.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Port.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Port.Type COPPER
public static final Port.Type FIBER
public static final Port.Type PACKET
public static final Port.Type ODUCLT
public static final Port.Type OCH
public static final Port.Type OMS
public static final Port.Type VIRTUAL
public static final Port.Type OTU
public static Port.Type[] values()
for (Port.Type c : Port.Type.values()) System.out.println(c);
public static Port.Type 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 null