@InterfaceAudience.Public @InterfaceStability.Evolving public enum QueueState extends Enum<QueueState>
修飾子とタイプ | メソッドと説明 |
---|---|
static QueueState |
getState(String state) |
String |
getStateName() |
String |
toString() |
static QueueState |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static QueueState[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final QueueState STOPPED
public static final QueueState RUNNING
public static final QueueState UNDEFINED
public static QueueState[] values()
for(QueueState c: QueueState.values()) System.out.println(c);
public static QueueState valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合public String getStateName()
public static QueueState getState(String state)
public String toString()
toString
クラス内 Enum<QueueState>
Copyright © 2016 Apache Software Foundation. All rights reserved.