public final class BundleStates extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTIVE |
static String |
INSTALLED |
static String |
RESOLVED |
static String |
STARTING |
static String |
STOPPING |
static String |
UNINSTALLED |
| Modifier | Constructor and Description |
|---|---|
private |
BundleStates() |
| Modifier and Type | Method and Description |
|---|---|
static String |
from(org.osgi.framework.Bundle bundle)
Gets the string form of the state of the given bundle.
|
static String |
from(int state)
Gets the String form of the given OSGi bundle state.
|
static int |
from(String state)
Gets the OSGi state from the string form.
|
public static final String ACTIVE
public static final String INSTALLED
public static final String RESOLVED
public static final String STARTING
public static final String STOPPING
public static final String UNINSTALLED
public static String from(int state)
state - the statepublic static String from(org.osgi.framework.Bundle bundle)
bundle - the bundlepublic static int from(String state)
state - the state as StringCopyright © 2013–2015 Wisdom Framework. All rights reserved.