Definition at line 48 of file ImportPkg.java.
Public Member Functions | |
boolean | okPackageVersion (Version ver) |
Check if version fullfills import package constraints. | |
String | pkgString () |
String describing package name and specification version, if specified. | |
String | toString () |
String describing this object. | |
Package Functions | |
ImportPkg (String name, Map tokens, BundlePackages b) | |
Create an import package entry. | |
ImportPkg (ImportPkg ip, String name) | |
Create an import package entry with a new name from an import template. | |
ImportPkg (ImportPkg ip, BundlePackages bpkgs) | |
Creates an import package entry with a new host bundle. | |
ImportPkg (ExportPkg p) | |
Create an import package entry. | |
synchronized void | attachPkg (Pkg p) |
Attach this to a Pkg object which indicate that it is a valid importer. | |
synchronized void | detachPkg () |
Detach this from a Pkg object which indicate that it is no longer valid. | |
boolean | checkMandatory (List mandatory) |
Check that we have all mandatory attributes. | |
boolean | overlap (ImportPkg ip) |
Check that we completly overlap specifed ImportPkg. |
boolean org.knopflerfish.framework.ImportPkg.okPackageVersion | ( | Version | ver | ) |
Check if version fullfills import package constraints.
ver | Version to compare to. |
Definition at line 179 of file ImportPkg.java.
References org.knopflerfish.framework.VersionRange.withinRange().
boolean org.knopflerfish.framework.ImportPkg.checkMandatory | ( | List | mandatory | ) | [package] |
Check that we have all mandatory attributes.
mandatory | List of mandatory attribute. |
Definition at line 190 of file ImportPkg.java.
References org.knopflerfish.framework.VersionRange.isSpecified().
boolean org.knopflerfish.framework.ImportPkg.overlap | ( | ImportPkg | ip | ) | [package] |
Check that we completly overlap specifed ImportPkg.
ip | ImportPkg to check. |
Definition at line 221 of file ImportPkg.java.
References org.knopflerfish.framework.ImportPkg.attributes, org.knopflerfish.framework.ImportPkg.bundleRange, org.knopflerfish.framework.ImportPkg.bundleSymbolicName, org.knopflerfish.framework.ImportPkg.packageRange, org.knopflerfish.framework.ImportPkg.resolution, and org.knopflerfish.framework.VersionRange.withinRange().
Referenced by org.knopflerfish.framework.BundlePackages.attachFragment().
String org.knopflerfish.framework.ImportPkg.pkgString | ( | ) |
String describing package name and specification version, if specified.
Definition at line 252 of file ImportPkg.java.
References org.knopflerfish.framework.VersionRange.isSpecified().
Referenced by org.knopflerfish.framework.ImportPkg.toString(), and org.knopflerfish.framework.Packages.unregisterPackages().
String org.knopflerfish.framework.ImportPkg.toString | ( | ) |
String describing this object.
Definition at line 267 of file ImportPkg.java.
References org.knopflerfish.framework.BundlePackages.bundle, and org.knopflerfish.framework.ImportPkg.pkgString().