public class BundleAction
extends org.springframework.core.enums.StaticLabeledEnum
Bundle actions supported by BundleFactoryBean.| Modifier and Type | Field and Description |
|---|---|
static BundleAction |
INSTALL
Install bundle.
|
private static long |
serialVersionUID |
static BundleAction |
START
Start bundle.
|
static BundleAction |
STOP
Stop bundle.
|
static BundleAction |
UNINSTALL
Uninstall bundle.
|
static BundleAction |
UPDATE
Update bundle.
|
| Modifier | Constructor and Description |
|---|---|
private |
BundleAction(int code,
java.lang.String label)
Constructs a new
BundleAction instance. |
| Modifier and Type | Method and Description |
|---|---|
(package private) static BundleAction |
getBundleAction(BundleActionEnum enm) |
(package private) BundleActionEnum |
getBundleActionEnum() |
getCode, getLabel, readResolve, shortValueprivate static final long serialVersionUID
public static final BundleAction INSTALL
START and UPDATE in case no bundle is found in the
existing OSGi BundleContext.BundleContext.installBundle(String)public static final BundleAction START
Bundle.start()public static final BundleAction UPDATE
Bundle.update()public static final BundleAction STOP
Bundle.stop()public static final BundleAction UNINSTALL
Bundle.uninstall()private BundleAction(int code,
java.lang.String label)
BundleAction instance.code - label - BundleActionEnum getBundleActionEnum()
static BundleAction getBundleAction(BundleActionEnum enm)