public abstract class BundleDescriptor extends ArtifactDescriptor implements Comparable<BundleDescriptor>
| Modifier | Constructor and Description |
|---|---|
protected |
BundleDescriptor(String name)
Constructor for a new descriptor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(BundleDescriptor o) |
boolean |
equals(Object obj) |
abstract int |
getBundleStartLevel()
Deprecated.
Use start order of the bundle
|
abstract String |
getBundleSymbolicName()
Get the bundle symbolic name.
|
abstract String |
getBundleVersion()
Get the bundle version
|
abstract Manifest |
getManifest()
Return the bundle manifest
|
int |
hashCode() |
boolean |
isExportingPackage(PackageInfo info)
Is the bundle exporting a package?
|
boolean |
isExportingPackage(String packageName)
Is the bundle exporting a package?
|
String |
toString() |
getArtifact, getArtifactFileaggregate, checkLocked, getCapabilities, getDynamicImportedPackages, getExportedPackages, getImportedPackages, getName, getRequirements, isLocked, lockprotected BundleDescriptor(String name)
name - The nameIllegalArgumentException - if name is nullpublic abstract String getBundleSymbolicName()
public abstract String getBundleVersion()
public abstract Manifest getManifest()
getManifest in class ArtifactDescriptor@Deprecated public abstract int getBundleStartLevel()
public boolean isExportingPackage(String packageName)
packageName - Package nametrue if that package is exported.public boolean isExportingPackage(PackageInfo info)
info - Package infotrue if that package is exported.public String toString()
toString in class Descriptorpublic int compareTo(BundleDescriptor o)
compareTo in interface Comparable<BundleDescriptor>Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.