public interface XPackageRequirement extends XRequirement
Modifier and Type | Method and Description |
---|---|
String |
getBundleSymbolicName()
The bundle symbolic name of the exporting bundle
|
org.osgi.framework.Version |
getBundleVersion()
The bundle version of the exporting bundle
|
String |
getResolution()
The required resolution
|
XVersionRange |
getVersionRange()
Get the required version range
|
boolean |
isDynamic()
True if this is a dynamic package requirement.
|
boolean |
match(XPackageCapability cap)
True if the given capability matches this requirement
|
getModule, getWiredCapability, isOptional
getAttribute, getAttributes
getDirective, getDirectives
addAttachment, getAttachment, removeAttachment
String getResolution()
XVersionRange getVersionRange()
String getBundleSymbolicName()
org.osgi.framework.Version getBundleVersion()
boolean isDynamic()
isDynamic
in interface XRequirement
boolean match(XPackageCapability cap)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.