Package org.onosproject.net
Enum Port.Type
- java.lang.Object
- 
- java.lang.Enum<Port.Type>
- 
- org.onosproject.net.Port.Type
 
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description COPPERSignifies copper-based connectivity.FIBERSignifies optical fiber-based connectivity.OCHSignifies optical fiber-based Line-side port (called L-port).ODUCLTSignifies optical fiber-based optical tributary port (called T-port).OMSSignifies optical fiber-based WDM port (called W-port).OTUSignifies optical fiber-based OTN port.PACKETSignifies optical fiber-based packet port.VIRTUALSignifies virtual port.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static Port.TypevalueOf(java.lang.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.
 
- 
- 
- 
Enum Constant Detail- 
COPPERpublic static final Port.Type COPPER Signifies copper-based connectivity.
 - 
FIBERpublic static final Port.Type FIBER Signifies optical fiber-based connectivity.
 - 
PACKETpublic static final Port.Type PACKET Signifies optical fiber-based packet port.
 - 
ODUCLTpublic static final Port.Type ODUCLT Signifies optical fiber-based optical tributary port (called T-port). The signal from the client side will be formed into a ITU G.709 (OTN) frame.
 - 
OCHpublic static final Port.Type OCH Signifies optical fiber-based Line-side port (called L-port).
 - 
OMSpublic static final Port.Type OMS Signifies optical fiber-based WDM port (called W-port). Optical Multiplexing Section (See ITU G.709).
 - 
VIRTUALpublic static final Port.Type VIRTUAL Signifies virtual port.
 - 
OTUpublic static final Port.Type OTU Signifies optical fiber-based OTN port.
 
- 
 - 
Method Detail- 
valuespublic static Port.Type[] 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 (Port.Type c : Port.Type.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static Port.Type valueOf(java.lang.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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-