Package org.onosproject.net
Enum Device.Type
- java.lang.Object
- 
- java.lang.Enum<Device.Type>
- 
- org.onosproject.net.Device.Type
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<Device.Type>
 - Enclosing interface:
- Device
 
 public static enum Device.Type extends Enum<Device.Type> Coarse classification of the type of the infrastructure device.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description BALANCERCONTROLLERFIBER_SWITCHFIREWALLIDSIPSMICROWAVEOLSOLTONUOPTICAL_AMPLIFIEROTHEROTNROADMROADM_OTNROUTERSERVERSWITCHTERMINAL_DEVICEVIRTUAL
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static Device.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Device.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
SWITCHpublic static final Device.Type SWITCH 
 - 
ROUTERpublic static final Device.Type ROUTER 
 - 
ROADMpublic static final Device.Type ROADM 
 - 
OTNpublic static final Device.Type OTN 
 - 
ROADM_OTNpublic static final Device.Type ROADM_OTN 
 - 
FIREWALLpublic static final Device.Type FIREWALL 
 - 
BALANCERpublic static final Device.Type BALANCER 
 - 
IPSpublic static final Device.Type IPS 
 - 
IDSpublic static final Device.Type IDS 
 - 
CONTROLLERpublic static final Device.Type CONTROLLER 
 - 
VIRTUALpublic static final Device.Type VIRTUAL 
 - 
FIBER_SWITCHpublic static final Device.Type FIBER_SWITCH 
 - 
MICROWAVEpublic static final Device.Type MICROWAVE 
 - 
OLTpublic static final Device.Type OLT 
 - 
ONUpublic static final Device.Type ONU 
 - 
OPTICAL_AMPLIFIERpublic static final Device.Type OPTICAL_AMPLIFIER 
 - 
OLSpublic static final Device.Type OLS 
 - 
TERMINAL_DEVICEpublic static final Device.Type TERMINAL_DEVICE 
 - 
OTHERpublic static final Device.Type OTHER 
 - 
SERVERpublic static final Device.Type SERVER 
 
- 
 - 
Method Detail- 
valuespublic static Device.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 (Device.Type c : Device.Type.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static Device.Type valueOf(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:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-