public class Bundle extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Bundle.BundleDescription
Description of bundles.
|
static class |
Bundle.BundleVersion
Bundle Version - according to OSGi spec 3.0 $3.2.4
|
static class |
Bundle.BundleVersionRange
Bundle Range - according to OSGi spec 3.0 $3.2.5
|
Constructor and Description |
---|
Bundle(String symbolicName,
String name,
String vendorName,
String version,
URL manifestLocation)
Constructor
|
Modifier and Type | Method and Description |
---|---|
URL |
getManifestLocation()
Acessor for the location of the manifest.mf file
|
String |
getName()
Acessor for the plug-in name
|
List<Bundle.BundleDescription> |
getRequireBundle()
Acessor for the RequireBundle
|
String |
getSymbolicName()
Accessor for the plug-in id - bundle symbolic name
|
String |
getVendorName()
Accessor for the provider name of this plug-in
|
String |
getVersion()
Acessor for the version of this plug-in
|
void |
setRequireBundle(List<Bundle.BundleDescription> requireBundle)
Acessor for the RequireBundle.
|
String |
toString() |
public Bundle(String symbolicName, String name, String vendorName, String version, URL manifestLocation)
symbolicName
- the unique id - bundle symbolic namename
- the namevendorName
- the vendor nameversion
- the version numbermanifestLocation
- the path to the declaration filepublic String getSymbolicName()
public String getVendorName()
public String getVersion()
public URL getManifestLocation()
public String getName()
public void setRequireBundle(List<Bundle.BundleDescription> requireBundle)
requireBundle
- A List of Bundle.BundleDescription
elementspublic List<Bundle.BundleDescription> getRequireBundle()
Bundle.BundleDescription
elementsCopyright © 2019. All rights reserved.