public enum InitializationState extends Enum<InitializationState>
UNINITIALIZED
.
At the beginning of the initialization it switches to INITIALIZING
and if initialization has completed it
goes to INITIALIZED
.Enum Constant and Description |
---|
INITIALIZED
State if initialization is complete.
|
INITIALIZING
State if initialization has started.
|
UNINITIALIZED
State if initialization has not begun.
|
Modifier and Type | Method and Description |
---|---|
static InitializationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InitializationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InitializationState UNINITIALIZED
public static final InitializationState INITIALIZING
public static final InitializationState INITIALIZED
public static InitializationState[] values()
for (InitializationState c : InitializationState.values()) System.out.println(c);
public static InitializationState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2001–2016 mmm-Team. All rights reserved.