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, valueOf
equals
public static final BundleState UNINSTALLED
Bundle.UNINSTALLED
public static final BundleState INSTALLED
Bundle.INSTALLED
public static final BundleState RESOLVED
Bundle.RESOLVED
public static final BundleState STARTING
Bundle.STARTING
public static final BundleState STOPPING
Bundle.STOPPING
public static final BundleState ACTIVE
Bundle.ACTIVE
public 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