Package org.eclipse.osgi.container
Class ModuleRevision
java.lang.Object
org.eclipse.osgi.container.ModuleRevision
- All Implemented Interfaces:
- BundleReference,- BundleRevision,- Resource
An implementation of 
BundleRevision.- Since:
- 3.10
- 
Field SummaryFields inherited from interface org.osgi.framework.wiring.BundleRevisionBUNDLE_NAMESPACE, HOST_NAMESPACE, PACKAGE_NAMESPACE, TYPE_FRAGMENT
- 
Method SummaryModifier and TypeMethodDescriptiongetCapabilities(String namespace) getDeclaredCapabilities(String namespace) getDeclaredRequirements(String namespace) getModuleCapabilities(String namespace) Returns the capabilities declared by this revisiongetModuleRequirements(String namespace) Returns the requirements declared by this revisiongetRequirements(String namespace) Returns the revision info for this revision.Returns therevisionsfor this revision.intgetTypes()booleanA convenience method to quickly determine if this revision has declared the lazy activation policy.toString()
- 
Method Details- 
getBundle- Specified by:
- getBundlein interface- BundleReference
 
- 
getSymbolicName- Specified by:
- getSymbolicNamein interface- BundleRevision
 
- 
getVersion- Specified by:
- getVersionin interface- BundleRevision
 
- 
getDeclaredCapabilities- Specified by:
- getDeclaredCapabilitiesin interface- BundleRevision
 
- 
getDeclaredRequirements- Specified by:
- getDeclaredRequirementsin interface- BundleRevision
 
- 
getModuleCapabilitiesReturns the capabilities declared by this revision- Parameters:
- namespace- The namespace of the declared capabilities to return or- nullto return the declared capabilities from all namespaces.
- Returns:
- An unmodifiable list containing the declared capabilities.
 
- 
getModuleRequirementsReturns the requirements declared by this revision- Parameters:
- namespace- The namespace of the declared requirements to return or- nullto return the declared requirements from all namespaces.
- Returns:
- An unmodifiable list containing the declared requirements.
 
- 
getTypespublic int getTypes()- Specified by:
- getTypesin interface- BundleRevision
 
- 
getWiring- Specified by:
- getWiringin interface- BundleRevision
 
- 
getCapabilities- Specified by:
- getCapabilitiesin interface- BundleRevision
- Specified by:
- getCapabilitiesin interface- Resource
 
- 
getRequirements- Specified by:
- getRequirementsin interface- BundleRevision
- Specified by:
- getRequirementsin interface- Resource
 
- 
getRevisionsReturns therevisionsfor this revision.- Returns:
- the revisionsfor this revision.
 
- 
getRevisionInfoReturns the revision info for this revision. The revision info is assigned when a revision is created to install a module or update module- Returns:
- the revision info for this revision, may be null.
 
- 
hasLazyActivatePolicypublic boolean hasLazyActivatePolicy()A convenience method to quickly determine if this revision has declared the lazy activation policy.- Returns:
- true if the lazy activation policy has been declared by this module; otherwise false is returned.
 
- 
toString
 
-