@Beta public enum ModuleEventType extends Enum<ModuleEventType>
Enum Constant and Description |
---|
INSTALLED |
LAZY_ACTIVATION |
RESOLVED |
STARTED |
STARTING |
STOPPED |
STOPPING |
UNINSTALLED |
UNRESOLVED |
UPDATED |
Modifier and Type | Method and Description |
---|---|
static ModuleEventType |
fromBundleEvent(org.osgi.framework.BundleEvent bundle) |
static ModuleEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModuleEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleEventType INSTALLED
public static final ModuleEventType RESOLVED
public static final ModuleEventType LAZY_ACTIVATION
public static final ModuleEventType STARTING
public static final ModuleEventType STARTED
public static final ModuleEventType STOPPING
public static final ModuleEventType STOPPED
public static final ModuleEventType UPDATED
public static final ModuleEventType UNRESOLVED
public static final ModuleEventType UNINSTALLED
public static ModuleEventType[] values()
for (ModuleEventType c : ModuleEventType.values()) System.out.println(c);
public static ModuleEventType 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 ModuleEventType fromBundleEvent(org.osgi.framework.BundleEvent bundle)