Enum Class WarmupStatus
- すべての実装されたインタフェース:
Serializable,Comparable<WarmupStatus>,Constable
ウォームアップステータス
ウォームアップ状態を表す列挙型です。
ウォームアップ状態は、WarmupService で管理されます。
-
ネストされたクラスの概要
クラスから継承されたネストされたクラス/インタフェース java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
列挙型定数の概要
列挙定数 -
メソッドの概要
修飾子とタイプメソッド説明booleancanChange(WarmupStatus nextStatus) 次のステータスに変更可能か判定するステータス名を取得するstatic WarmupStatusReturns the enum constant of this class with the specified name.static WarmupStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
列挙型定数の詳細
-
NOT_PROCESSING
処理されていない -
PROCESSING
処理中 -
COMPLETE
完了(正常終了) -
FAILED
完了(失敗) -
DISABLED
完了(無効)
-
-
メソッドの詳細
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 戻り値:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- パラメータ:
name- 返される列挙型定数の名前。- 戻り値:
- 指定した名前の列挙型定数
- 例外:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 引数がnullの場合
-
getStatus
ステータス名を取得する- 戻り値:
- ステータス名
-
canChange
次のステータスに変更可能か判定するステータス変更の判定は、重みによって判断されます。 自身の重みよりも大きいものに変更可能です。
- パラメータ:
nextStatus- 変更先ステータス- 戻り値:
- 変更可能な場合は true を返却する。
-