public static enum RestoreInProgress.State extends Enum<RestoreInProgress.State>
| 列挙型定数と説明 |
|---|
FAILURE
Restore failed
|
INIT
Initializing state
|
STARTED
Started state
|
SUCCESS
Restore finished successfully
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
completed()
Returns true if restore process completed (either successfully or with failure)
|
static RestoreInProgress.State |
fromValue(byte value)
Returns state corresponding to state code
|
byte |
value()
Returns state code
|
static RestoreInProgress.State |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static RestoreInProgress.State[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final RestoreInProgress.State INIT
public static final RestoreInProgress.State STARTED
public static final RestoreInProgress.State SUCCESS
public static final RestoreInProgress.State FAILURE
public static RestoreInProgress.State[] values()
for(RestoreInProgress.State c: RestoreInProgress.State.values()) System.out.println(c);
public static RestoreInProgress.State valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合public byte value()
public boolean completed()
public static RestoreInProgress.State fromValue(byte value)
value - stat codeCopyright © 2009–2016. All rights reserved.