public static enum OsgiBundleInstallationResult.ResultCode extends java.lang.Enum<OsgiBundleInstallationResult.ResultCode>
Enum Constant and Description |
---|
BUNDLE_REMOVED |
ERROR_LAUNCHING_BUNDLE
bundle successfully installed to OSGi container but there was an error launching it,
either the OSGi bundle start, catalog items load, or (most commonly) validating the catalog items;
bundle may be installed (currently it is in most/all places, but behaviour TBC) so caller may have to uninstall it
|
ERROR_PREPARING_BUNDLE
bundle could not be made insto a state where it could be installed; bundle is not installed, even if forced
|
ERROR_REMOVING_BUNDLE_IN_USE |
ERROR_REMOVING_BUNDLE_OTHER |
IGNORING_BUNDLE_AREADY_INSTALLED
Bundle is already installed at exact same version and same contents; safely ignoring
(safe in that behaviour won't be different or dangerous;
could potentially be surprising, but ability to idempotently install things is nicer)
|
IGNORING_BUNDLE_FORCIBLY_REMOVED
Bundle has been forcibly removed; not installing;
bundle metadata for an upgrade may be returned, if there is one
|
INSTALLED_NEW_BUNDLE |
UPDATED_EXISTING_BUNDLE |
Modifier and Type | Method and Description |
---|---|
boolean |
isError() |
static OsgiBundleInstallationResult.ResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OsgiBundleInstallationResult.ResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OsgiBundleInstallationResult.ResultCode INSTALLED_NEW_BUNDLE
public static final OsgiBundleInstallationResult.ResultCode UPDATED_EXISTING_BUNDLE
public static final OsgiBundleInstallationResult.ResultCode IGNORING_BUNDLE_AREADY_INSTALLED
public static final OsgiBundleInstallationResult.ResultCode IGNORING_BUNDLE_FORCIBLY_REMOVED
public static final OsgiBundleInstallationResult.ResultCode ERROR_PREPARING_BUNDLE
public static final OsgiBundleInstallationResult.ResultCode ERROR_LAUNCHING_BUNDLE
public static final OsgiBundleInstallationResult.ResultCode BUNDLE_REMOVED
public static final OsgiBundleInstallationResult.ResultCode ERROR_REMOVING_BUNDLE_IN_USE
public static final OsgiBundleInstallationResult.ResultCode ERROR_REMOVING_BUNDLE_OTHER
public static OsgiBundleInstallationResult.ResultCode[] values()
for (OsgiBundleInstallationResult.ResultCode c : OsgiBundleInstallationResult.ResultCode.values()) System.out.println(c);
public static OsgiBundleInstallationResult.ResultCode 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 boolean isError()