public enum BundleState extends Enum<BundleState>
| Enum Constant and Description |
|---|
ACTIVE |
INSTALLED |
RESOLVED |
STARTING |
STOPPING |
UNINSTALLED |
| Modifier and Type | Method and Description |
|---|---|
static BundleState |
fromInt(int value)
Get bundle state corresponding to an org.osgi.framework.Bundle state value.
|
int |
toInt() |
static BundleState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BundleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BundleState UNINSTALLED
public static final BundleState INSTALLED
public static final BundleState RESOLVED
public static final BundleState STARTING
public static final BundleState STOPPING
public static final BundleState ACTIVE
public static BundleState[] values()
for (BundleState c : BundleState.values()) System.out.println(c);
public static BundleState 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 int toInt()
public static BundleState fromInt(int value)
value - org.osgi.framework.Bundle state constant valueCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.