public enum ComponentStatus extends Enum<ComponentStatus>
| Enum Constant and Description |
|---|
INITIALIZED |
INITIALIZING |
STARTED |
STARTING |
STOPPED |
STOPPING |
TERMINATED |
TERMINATING |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority() |
static ComponentStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComponentStatus INITIALIZING
public static final ComponentStatus INITIALIZED
public static final ComponentStatus STARTING
public static final ComponentStatus STARTED
public static final ComponentStatus STOPPING
public static final ComponentStatus STOPPED
public static final ComponentStatus TERMINATING
public static final ComponentStatus TERMINATED
public static final ComponentStatus UNKNOWN
public static ComponentStatus[] values()
for (ComponentStatus c : ComponentStatus.values()) System.out.println(c);
public static ComponentStatus 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 nullpublic int getPriority()
Copyright © 2020. All rights reserved.