public abstract class BundleDescriptor extends ArtifactDescriptor implements Comparable<BundleDescriptor>
Modifier | Constructor and Description |
---|---|
protected |
BundleDescriptor(String name) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BundleDescriptor o) |
boolean |
equals(Object obj) |
abstract int |
getBundleStartLevel()
Get the start level
|
abstract String |
getBundleSymbolicName()
Get the bundle symbolic name.
|
abstract String |
getBundleVersion()
Get the bundle version
|
abstract Manifest |
getManifest()
If the artifact has a manifest, return it
|
int |
hashCode() |
boolean |
isExportingPackage(PackageInfo info) |
boolean |
isExportingPackage(String packageName) |
String |
toString() |
getArtifact, getArtifactFile
aggregate, checkLocked, getCapabilities, getDynamicImportedPackages, getExportedPackages, getImportedPackages, getName, getRequirements, isLocked, lock
protected BundleDescriptor(String name)
public abstract String getBundleSymbolicName()
public abstract String getBundleVersion()
public abstract int getBundleStartLevel()
public abstract Manifest getManifest()
public boolean isExportingPackage(String packageName)
public boolean isExportingPackage(PackageInfo info)
public String toString()
toString
in class Descriptor
public int compareTo(BundleDescriptor o)
compareTo
in interface Comparable<BundleDescriptor>
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.