public enum BundleActionEnum extends Enum<BundleActionEnum>
Bundle actions supported by BundleFactoryBean.| Enum Constant and Description |
|---|
INSTALL
Installs the bundle.
|
START
Starts the bundle.
|
STOP
Stops the bundle.
|
UNINSTALL
Uninstalls the bundle.
|
UPDATE
Updates the bundle.
|
| Modifier and Type | Method and Description |
|---|---|
static BundleActionEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BundleActionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BundleActionEnum INSTALL
START and UPDATE in case no bundle is found in
the existing OSGi BundleContext.BundleContext.installBundle(String)public static final BundleActionEnum START
Bundle.start()public static final BundleActionEnum UPDATE
Bundle.update()public static final BundleActionEnum STOP
Bundle.stop()public static final BundleActionEnum UNINSTALL
Bundle.uninstall()public static BundleActionEnum[] values()
for (BundleActionEnum c : BundleActionEnum.values()) System.out.println(c);
public static BundleActionEnum 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 nullCopyright © 2006–2017. All rights reserved.