Package org.onosproject.net.intf
Enum InterfaceEvent.Type
- java.lang.Object
- 
- java.lang.Enum<InterfaceEvent.Type>
- 
- org.onosproject.net.intf.InterfaceEvent.Type
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<InterfaceEvent.Type>
 - Enclosing class:
- InterfaceEvent
 
 public static enum InterfaceEvent.Type extends Enum<InterfaceEvent.Type> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description INTERFACE_ADDEDIndicates a new interface has been added.INTERFACE_REMOVEDIndicates an interface has been removed.INTERFACE_UPDATEDIndicates an interface has been updated.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static InterfaceEvent.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static InterfaceEvent.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
INTERFACE_ADDEDpublic static final InterfaceEvent.Type INTERFACE_ADDED Indicates a new interface has been added.
 - 
INTERFACE_UPDATEDpublic static final InterfaceEvent.Type INTERFACE_UPDATED Indicates an interface has been updated.
 - 
INTERFACE_REMOVEDpublic static final InterfaceEvent.Type INTERFACE_REMOVED Indicates an interface has been removed.
 
- 
 - 
Method Detail- 
valuespublic static InterfaceEvent.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 (InterfaceEvent.Type c : InterfaceEvent.Type.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static InterfaceEvent.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
 
 
- 
 
-