public interface ResolverError
State
object.
* This interface is not intended to be implemented by clients.
Modifier and Type | Field and Description |
---|---|
static int |
DISABLED_BUNDLE
Error type constant (bit mask) indicating that a bundle could not be
resolved because the bundle was disabled
|
static int |
EXPORT_PACKAGE_PERMISSION
Error type constant (bit mask) indicating that an Import-Package could
not be resolved because no exporting bundle has the correct
permissions to export the package.
|
static int |
FRAGMENT_BUNDLE_PERMISSION
Error type constant (bit mask) indicating that a Fragment-Host could
not be resolved because the fragment bundle does not have the correct
permissions to be a fragment.
|
static int |
FRAGMENT_CONFLICT
Error type constant (bit mask) indicating that the bundle fragment
could not be resolved because a constraint conflict with a host.
|
static int |
HOST_BUNDLE_PERMISSION
Error type constant (bit mask) indicating that a Fragment-Host could
not be resolved because no bundle with the required symbolic name has
the correct permissions to host a fragment.
|
static int |
IMPORT_PACKAGE_PERMISSION
Error type constant (bit mask) indicating that an Import-Package could
not be resolved because the importing bundle does not have the correct
permissions to import the package.
|
static int |
IMPORT_PACKAGE_USES_CONFLICT
Error type constant (bit mask) indicating that an Import-Package could
not be resolved because of a uses directive conflict.
|
static int |
INVALID_NATIVECODE_PATHS
Error type constant (bit mask) indicating that a bundle could not be
resolved because the matching native code paths are invalid.
|
static int |
MISSING_EXECUTION_ENVIRONMENT
Error type constant (bit mask) indicating that a bundle could not be
resolved because the required execution enviroment did not match the runtime
environment.
|
static int |
MISSING_FRAGMENT_HOST
Error type constant (bit mask) indicating that a Fragment-Host could
not be resolved.
|
static int |
MISSING_GENERIC_CAPABILITY
Error type constant (bit mask) indicating that a bundle could not be
resolved because the required generic capability could not be resolved.
|
static int |
MISSING_IMPORT_PACKAGE
Error type constant (bit mask) indicating that an Import-Package could
not be resolved.
|
static int |
MISSING_REQUIRE_BUNDLE
Error type constant (bit mask) indicating that a Require-Bundle could
not be resolved.
|
static int |
NO_NATIVECODE_MATCH
Error type constant (bit mask) indicating that a bundle could not be
resolved because no match was found for the native code specification.
|
static int |
PLATFORM_FILTER
Error type constant (bit mask) indicating that a bundle could not be
resolved because a platform filter did not match the runtime environment.
|
static int |
PROVIDE_BUNDLE_PERMISSION
Error type constant (bit mask) indicating that a Require-Bundle could
not be resolved because no bundle with the required symbolic name has
the correct permissions to provide the required symbolic name.
|
static int |
PROVIDE_CAPABILITY_PERMISSION
Error type constant (bit mask) indicating that a Require-Bundle could
not be resolved because no bundle with the required symbolic name has
the correct permissions to provide the required symbolic name.
|
static int |
REQUIRE_BUNDLE_PERMISSION
Error type constant (bit mask) indicating that a Require-Bundle could
not be resolved because the requiring bundle does not have the correct
permissions to require the bundle.
|
static int |
REQUIRE_BUNDLE_USES_CONFLICT
Error type constant (bit mask) indicating that a Require-Bundle could
not be resolved because of a uses directive conflict.
|
static int |
REQUIRE_CAPABILITY_PERMISSION
Error type constant (bit mask) indicating that a Require-Capability could
not be resolved because the requiring bundle does not have the correct
permissions to require the capability.
|
static int |
SINGLETON_SELECTION
Error type constant (bit mask) indicating that the bundle could not
be resolved because another singleton bundle was selected.
|
Modifier and Type | Method and Description |
---|---|
BundleDescription |
getBundle()
Returns the bundle which this ResolverError is for
|
String |
getData()
Returns non-translatable data associated with this ResolverError.
|
int |
getType()
Returns the type of ResolverError this is
|
VersionConstraint |
getUnsatisfiedConstraint()
Returns the unsatisfied constraint if this ResolverError occurred
because of an unsatisfied constraint; otherwise
null
is returned. |
static final int MISSING_IMPORT_PACKAGE
getType()
,
Constant Field Valuesstatic final int MISSING_REQUIRE_BUNDLE
getType()
,
Constant Field Valuesstatic final int MISSING_FRAGMENT_HOST
getType()
,
Constant Field Valuesstatic final int SINGLETON_SELECTION
getType()
,
Constant Field Valuesstatic final int FRAGMENT_CONFLICT
getType()
,
Constant Field Valuesstatic final int IMPORT_PACKAGE_USES_CONFLICT
getType()
,
Constant Field Valuesstatic final int REQUIRE_BUNDLE_USES_CONFLICT
getType()
,
Constant Field Valuesstatic final int IMPORT_PACKAGE_PERMISSION
getType()
,
Constant Field Valuesstatic final int EXPORT_PACKAGE_PERMISSION
getType()
,
Constant Field Valuesstatic final int REQUIRE_BUNDLE_PERMISSION
getType()
,
Constant Field Valuesstatic final int PROVIDE_BUNDLE_PERMISSION
getType()
,
Constant Field Valuesstatic final int HOST_BUNDLE_PERMISSION
getType()
,
Constant Field Valuesstatic final int FRAGMENT_BUNDLE_PERMISSION
getType()
,
Constant Field Valuesstatic final int PLATFORM_FILTER
getType()
,
Constant Field Valuesstatic final int MISSING_EXECUTION_ENVIRONMENT
getType()
,
Constant Field Valuesstatic final int MISSING_GENERIC_CAPABILITY
static final int NO_NATIVECODE_MATCH
static final int INVALID_NATIVECODE_PATHS
static final int DISABLED_BUNDLE
static final int REQUIRE_CAPABILITY_PERMISSION
getType()
,
Constant Field Valuesstatic final int PROVIDE_CAPABILITY_PERMISSION
getType()
,
Constant Field ValuesBundleDescription getBundle()
int getType()
String getData()
VersionConstraint getUnsatisfiedConstraint()
null
is returned.null
.Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.