Package org.onosproject.vpls.api
Enum VplsData.VplsState
- java.lang.Object
-
- java.lang.Enum<VplsData.VplsState>
-
- org.onosproject.vpls.api.VplsData.VplsState
-
- All Implemented Interfaces:
Serializable,Comparable<VplsData.VplsState>
- Enclosing class:
- VplsData
public static enum VplsData.VplsState extends Enum<VplsData.VplsState>
States of a VPLS.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VplsData.VplsStatevalueOf(String name)Returns the enum constant of this type with the specified name.static VplsData.VplsState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPDATING
public static final VplsData.VplsState UPDATING
-
ADDING
public static final VplsData.VplsState ADDING
-
REMOVING
public static final VplsData.VplsState REMOVING
-
ADDED
public static final VplsData.VplsState ADDED
-
REMOVED
public static final VplsData.VplsState REMOVED
-
FAILED
public static final VplsData.VplsState FAILED
-
-
Method Detail
-
values
public static VplsData.VplsState[] 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 (VplsData.VplsState c : VplsData.VplsState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VplsData.VplsState 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 nameNullPointerException- if the argument is null
-
-