public enum ComponentState extends java.lang.Enum<ComponentState>
Component.add(ComponentStateListener)
method
are notified with the following stated whenever the component state changes.Enum Constant and Description |
---|
INACTIVE
The component is not currently started, and is inactive.
|
INSTANTIATED_AND_WAITING_FOR_REQUIRED
The component is instantiated and waiting for dynamic required dependencies defined in init callback.
|
STARTED
The component has been called in its started callback.
|
STARTING
The component is starting.
|
STOPPED
the component is stopped.
|
STOPPING
the component is stopping.
|
TRACKING_OPTIONAL
The component is started.
|
WAITING_FOR_REQUIRED
The component is waiting for some required dependencies defined in the Activator.
|
Modifier and Type | Method and Description |
---|---|
static ComponentState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ComponentState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComponentState INACTIVE
public static final ComponentState WAITING_FOR_REQUIRED
public static final ComponentState INSTANTIATED_AND_WAITING_FOR_REQUIRED
public static final ComponentState STARTING
public static final ComponentState STARTED
public static final ComponentState TRACKING_OPTIONAL
public static final ComponentState STOPPING
public static final ComponentState STOPPED
public static ComponentState[] values()
for (ComponentState c : ComponentState.values()) System.out.println(c);
public static ComponentState 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