Package org.onosproject.net.key
Enum DeviceKey.Type
- java.lang.Object
- 
- java.lang.Enum<DeviceKey.Type>
- 
- org.onosproject.net.key.DeviceKey.Type
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<DeviceKey.Type>
 - Enclosing class:
- DeviceKey
 
 public static enum DeviceKey.Type extends Enum<DeviceKey.Type> type of the device key.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description COMMUNITY_NAMESSL_KEYUSERNAME_PASSWORD
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static DeviceKey.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static DeviceKey.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
COMMUNITY_NAMEpublic static final DeviceKey.Type COMMUNITY_NAME 
 - 
USERNAME_PASSWORDpublic static final DeviceKey.Type USERNAME_PASSWORD 
 - 
SSL_KEYpublic static final DeviceKey.Type SSL_KEY 
 
- 
 - 
Method Detail- 
valuespublic static DeviceKey.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 (DeviceKey.Type c : DeviceKey.Type.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static DeviceKey.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
 
 
- 
 
-