org.eclipse.osgi.internal.resolver
Class ResolverErrorImpl
java.lang.Object
org.eclipse.osgi.internal.resolver.ResolverErrorImpl
- All Implemented Interfaces:
- ResolverError
public final class ResolverErrorImpl
- extends Object
- implements ResolverError
| Fields inherited from interface org.eclipse.osgi.service.resolver.ResolverError |
DISABLED_BUNDLE, EXPORT_PACKAGE_PERMISSION, FRAGMENT_BUNDLE_PERMISSION, FRAGMENT_CONFLICT, HOST_BUNDLE_PERMISSION, IMPORT_PACKAGE_PERMISSION, IMPORT_PACKAGE_USES_CONFLICT, INVALID_NATIVECODE_PATHS, MISSING_EXECUTION_ENVIRONMENT, MISSING_FRAGMENT_HOST, MISSING_GENERIC_CAPABILITY, MISSING_IMPORT_PACKAGE, MISSING_REQUIRE_BUNDLE, NO_NATIVECODE_MATCH, PLATFORM_FILTER, PROVIDE_BUNDLE_PERMISSION, PROVIDE_CAPABILITY_PERMISSION, REQUIRE_BUNDLE_PERMISSION, REQUIRE_BUNDLE_USES_CONFLICT, REQUIRE_CAPABILITY_PERMISSION, SINGLETON_SELECTION |
ResolverErrorImpl
public ResolverErrorImpl(BundleDescriptionImpl bundle,
int type,
String data,
VersionConstraint unsatisfied)
getBundle
public BundleDescription getBundle()
- Description copied from interface:
ResolverError
- Returns the bundle which this ResolverError is for
- Specified by:
getBundle in interface ResolverError
- Returns:
- the bundle which this ResolverError is for
getType
public int getType()
- Description copied from interface:
ResolverError
- Returns the type of ResolverError this is
- Specified by:
getType in interface ResolverError
- Returns:
- the type of ResolverError this is
getData
public String getData()
- Description copied from interface:
ResolverError
- Returns non-translatable data associated with this ResolverError.
For example, the data for a ResolverError of type MISSING_IMPORT_PACKAGE
could be the Import-Package manifest statement which did not resolve.
- Specified by:
getData in interface ResolverError
- Returns:
- non-translatable data associated with this ResolverError
getUnsatisfiedConstraint
public VersionConstraint getUnsatisfiedConstraint()
- Description copied from interface:
ResolverError
- Returns the unsatisfied constraint if this ResolverError occurred
because of an unsatisfied constraint; otherwise
null
is returned.
- Specified by:
getUnsatisfiedConstraint in interface ResolverError
- Returns:
- the unsatisfied constraint or
null.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.