public static enum BundleActivator.State extends Enum<BundleActivator.State>
Enum Constant and Description |
---|
Created
The bundle is created and ready to be initialized.
|
Initialized
The bundle is initialized and ready to be linked.
|
Linked
The bundle is linked and ready to be started.
|
Started
The bundle is started.
|
Stopped
The bundle is stopped.
|
Modifier and Type | Method and Description |
---|---|
static BundleActivator.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BundleActivator.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BundleActivator.State Created
public static final BundleActivator.State Initialized
BundleActivator.initialize()
public static final BundleActivator.State Linked
BundleActivator.link()
public static final BundleActivator.State Started
BundleActivator.start()
public static final BundleActivator.State Stopped
BundleActivator.stop()
public static BundleActivator.State 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 static BundleActivator.State[] values()
for (BundleActivator.State c : BundleActivator.State.values()) System.out.println(c);