次の方法で共有


PowerState クラス

public final class PowerState
extends ExpandableStringEnum<PowerState>

PowerState の値を定義します。

フィールドの概要

修飾子と型 フィールドと説明
static final PowerState RUNNING

電源状態に対して実行中の静的な値。

static final PowerState STOPPED

PowerState の静的な値 Stopped。

コンストラクターの概要

コンストラクター 説明
PowerState()

メソッドの概要

修飾子と型 メソッドと説明
static PowerState fromString(String name)

文字列表現から PowerState を作成または検索します。

static Collection<PowerState> values()

既知の PowerState 値を取得します。

メソッドの継承元: ExpandableStringEnum

メソッドの継承元: java.lang.Object

フィールドの詳細

RUNNING

public static final PowerState RUNNING

PowerState に対して実行中の静的な値。

STOPPED

public static final PowerState STOPPED

PowerState の静的な値 Stopped。

コンストラクターの詳細

PowerState

public PowerState()

メソッドの詳細

fromString

public static PowerState fromString(String name)

文字列表現から PowerState を作成または検索します。

Parameters:

name - 検索する名前。

Returns:

対応する PowerState。

values

public static Collection values()

既知の PowerState 値を取得します。

Returns:

既知の PowerState 値。

適用対象