|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.deploymentadmin.DeploymentPackageManifest
public class DeploymentPackageManifest
This class represents a manifest file used to describe the contents of a deployment package. It can verify the correctness of a deployment package manifest and can interpret the various manifest entries and headers the OSGi specification defines.
Constructor Summary | |
---|---|
DeploymentPackageManifest(Manifest manifest)
Creates an instance of this class. |
Method Summary | |
---|---|
List |
getBundleInfos()
Determines which bundle resources are part of the deployment package, this includes customizer bundles. |
VersionRange |
getFixPackage()
Determines the version range a fix package can be applied to |
String |
getHeader(String header)
Determines the value of a header in the main section of the manifest. |
List |
getResourceInfos()
Determines which processed resources are part of the deployment package. |
String |
getSymbolicName()
Determines the symbolic name of the deployment package. |
Version |
getVersion()
Determines the version of the deployment package. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeploymentPackageManifest(Manifest manifest) throws DeploymentException
manifest
- The manifest file to be used as deployment manifest
DeploymentException
- If the specified manifest is not a valid deployment package manifest file.Method Detail |
---|
public String getHeader(String header)
header
- Name of the header to retrieve.
public VersionRange getFixPackage()
public String getSymbolicName()
public Version getVersion()
public List getBundleInfos()
BundleInfoImpl
objects describing the bundle resources of the deployment package.public List getResourceInfos()
ResourceInfoImpl
objects describing the processed resources of the deployment package.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |