public enum BundleState extends java.lang.Enum<BundleState> implements IntegralConstant
Bundle| Enum Constant and Description |
|---|
ACTIVE |
INSTALLED |
RESOLVED |
STARTING |
STOPPING |
UNINSTALLED |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static BundleState |
valueOf(int value) |
static BundleState |
valueOf(java.lang.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.
|
static java.util.Set<java.lang.Integer> |
valuesAsIntegers() |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfequalspublic static final BundleState UNINSTALLED
Bundle.UNINSTALLEDpublic static final BundleState INSTALLED
Bundle.INSTALLEDpublic static final BundleState RESOLVED
Bundle.RESOLVEDpublic static final BundleState STARTING
Bundle.STARTINGpublic static final BundleState STOPPING
Bundle.STOPPINGpublic static final BundleState ACTIVE
Bundle.ACTIVEpublic static BundleState[] values()
for (BundleState c : BundleState.values()) System.out.println(c);
public static BundleState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static java.util.Set<java.lang.Integer> valuesAsIntegers()
public static BundleState valueOf(int value)
public int getValue()
getValue in interface IntegralConstant