Enum Constant and Description |
---|
DISABLE
노드를 사용할 수 없는 상태.
|
INIT
노드가 최초에 뜨면서 초기화되는 상태
|
INVALID
노드와의 통신이 끊긴 상태.
|
NON_STOP_PATCH_DST
무정지 점검 시 도착지일 경우의 노드 상태.
|
NON_STOP_PATCH_SRC
무정지 점검 시 출발지일 경우의 노드 상태.
|
NONE
기본 값, 없음
|
PAUSE
작동을 멈춘상태.
|
PREPARE
Init 상태에서 Ready 상태로 가기전에 거치는 상태
|
READY
정상적으로 작동하고 있는 상태
|
RESUME
Pause 상태에서 Ready 상태로 가기전에 거치는 상태
|
SHUTDOWN
노드가 정상종료된 상태.
|
SHUTTING_DOWN
노드가 정지 요청을 받아서 종료중인 상태, 완료되면 SHUTDOWN 상태가 된다
|
Modifier and Type | Method and Description |
---|---|
static NodeState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NodeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeState NONE
public static final NodeState INIT
public static final NodeState PREPARE
public static final NodeState READY
public static final NodeState PAUSE
public static final NodeState RESUME
public static final NodeState SHUTTING_DOWN
public static final NodeState SHUTDOWN
public static final NodeState INVALID
public static final NodeState DISABLE
public static final NodeState NON_STOP_PATCH_SRC
public static final NodeState NON_STOP_PATCH_DST
public static NodeState[] values()
for (NodeState c : NodeState.values()) System.out.println(c);
public static NodeState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null