public enum DevicePermission extends java.lang.Enum<DevicePermission>
| Modifier and Type | Method and Description |
|---|---|
static DevicePermission |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DevicePermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DevicePermission READ
public static final DevicePermission WRITE
public static final DevicePermission ADMIN
public static DevicePermission[] values()
for (DevicePermission c : DevicePermission.values()) System.out.println(c);
public static DevicePermission valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null