public static enum Device.State extends Enum<Device.State>
| Enum Constant and Description |
|---|
ACTIVE |
INACTIVE |
POWERING_OFF |
POWERING_ON |
PROVISIONING |
QUEUED |
REBOOTING |
| Modifier and Type | Method and Description |
|---|---|
static Device.State |
fromValue(String value) |
static Device.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Device.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Device.State PROVISIONING
public static final Device.State QUEUED
public static final Device.State ACTIVE
public static final Device.State REBOOTING
public static final Device.State POWERING_OFF
public static final Device.State POWERING_ON
public static final Device.State INACTIVE
public static Device.State[] values()
for (Device.State c : Device.State.values()) System.out.println(c);
public static Device.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Device.State fromValue(String value)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.