|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<BundleActionEnum> org.springframework.osgi.bundle.BundleActionEnum
public enum BundleActionEnum
Enum class for the Bundle
actions supported by BundleFactoryBean
.
Enum Constant Summary | |
---|---|
INSTALL
Installs the bundle. |
|
START
Starts the bundle. |
|
STOP
Stops the bundle. |
|
UNINSTALL
Uninstalls the bundle. |
|
UPDATE
Updates the bundle. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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()
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |