Package org.onosproject.ui.model.topo
Enum UiModelEvent.Type
- java.lang.Object
-
- java.lang.Enum<UiModelEvent.Type>
-
- org.onosproject.ui.model.topo.UiModelEvent.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UiModelEvent.Type>
- Enclosing class:
- UiModelEvent
public static enum UiModelEvent.Type extends java.lang.Enum<UiModelEvent.Type>
Enumeration of event types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLUSTER_MEMBER_ADDED_OR_UPDATED
CLUSTER_MEMBER_REMOVED
DEVICE_ADDED_OR_UPDATED
DEVICE_REMOVED
HOST_ADDED_OR_UPDATED
HOST_MOVED
HOST_REMOVED
LINK_ADDED_OR_UPDATED
LINK_REMOVED
REGION_ADDED_OR_UPDATED
REGION_REMOVED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UiModelEvent.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UiModelEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLUSTER_MEMBER_ADDED_OR_UPDATED
public static final UiModelEvent.Type CLUSTER_MEMBER_ADDED_OR_UPDATED
-
CLUSTER_MEMBER_REMOVED
public static final UiModelEvent.Type CLUSTER_MEMBER_REMOVED
-
REGION_ADDED_OR_UPDATED
public static final UiModelEvent.Type REGION_ADDED_OR_UPDATED
-
REGION_REMOVED
public static final UiModelEvent.Type REGION_REMOVED
-
DEVICE_ADDED_OR_UPDATED
public static final UiModelEvent.Type DEVICE_ADDED_OR_UPDATED
-
DEVICE_REMOVED
public static final UiModelEvent.Type DEVICE_REMOVED
-
LINK_ADDED_OR_UPDATED
public static final UiModelEvent.Type LINK_ADDED_OR_UPDATED
-
LINK_REMOVED
public static final UiModelEvent.Type LINK_REMOVED
-
HOST_ADDED_OR_UPDATED
public static final UiModelEvent.Type HOST_ADDED_OR_UPDATED
-
HOST_MOVED
public static final UiModelEvent.Type HOST_MOVED
-
HOST_REMOVED
public static final UiModelEvent.Type HOST_REMOVED
-
-
Method Detail
-
values
public static UiModelEvent.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 (UiModelEvent.Type c : UiModelEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UiModelEvent.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 namejava.lang.NullPointerException
- if the argument is null
-
-