Package org.onosproject.net.region
Enum Region.Type
- java.lang.Object
- 
- java.lang.Enum<Region.Type>
- 
- org.onosproject.net.region.Region.Type
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<Region.Type>
 - Enclosing interface:
- Region
 
 public static enum Region.Type extends Enum<Region.Type> Coarse representation of the type of the region.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description BUILDINGRegion represents a building.CAMPUSRegion represents a campus.CONTINENTRegion represents an entire continent.COUNTRYRegion represents an entire country.DATA_CENTERRegion represents a data center.FLOORRegion represents a building floor.LOGICAL_GROUPRegion represents a logical grouping.METRORegion represents a metropolitan area.RACKRegion represents a rack.ROOMRegion represents a room.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static Region.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Region.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
CONTINENTpublic static final Region.Type CONTINENT Region represents an entire continent.
 - 
COUNTRYpublic static final Region.Type COUNTRY Region represents an entire country.
 - 
METROpublic static final Region.Type METRO Region represents a metropolitan area.
 - 
CAMPUSpublic static final Region.Type CAMPUS Region represents a campus.
 - 
BUILDINGpublic static final Region.Type BUILDING Region represents a building.
 - 
DATA_CENTERpublic static final Region.Type DATA_CENTER Region represents a data center.
 - 
FLOORpublic static final Region.Type FLOOR Region represents a building floor.
 - 
ROOMpublic static final Region.Type ROOM Region represents a room.
 - 
RACKpublic static final Region.Type RACK Region represents a rack.
 - 
LOGICAL_GROUPpublic static final Region.Type LOGICAL_GROUP Region represents a logical grouping.
 
- 
 - 
Method Detail- 
valuespublic static Region.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 (Region.Type c : Region.Type.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static Region.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
 
 
- 
 
-