org.apache.aries.application.resolver.obr.ext
Class BundleResource
java.lang.Object
org.apache.aries.application.resolver.obr.ext.BundleResource
- All Implemented Interfaces:
- org.apache.felix.bundlerepository.Resource
public class BundleResource
- extends Object
- implements org.apache.felix.bundlerepository.Resource
Fields inherited from interface org.apache.felix.bundlerepository.Resource |
CATEGORY, COPYRIGHT, DESCRIPTION, DOCUMENTATION_URI, ID, JAVADOC_URI, LICENSE_URI, MANIFEST_VERSION, PRESENTATION_NAME, SIZE, SOURCE_URI, SYMBOLIC_NAME, URI, VERSION |
Constructor Summary |
BundleResource(BundleResource br,
Collection<org.apache.felix.bundlerepository.Capability> extraCapabilities,
Collection<org.apache.felix.bundlerepository.Requirement> extraRequirements)
Build a BundleResource from another BundleResource and some optional extra capabilities and requirements |
BundleResource(ModelledResource mb,
org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundleResource
public BundleResource(BundleResource br,
Collection<org.apache.felix.bundlerepository.Capability> extraCapabilities,
Collection<org.apache.felix.bundlerepository.Requirement> extraRequirements)
- Build a BundleResource from another BundleResource and some optional extra capabilities and requirements
- Parameters:
br
- extraCapabilities
- can be nullextraRequirements
- can be null
BundleResource
public BundleResource(ModelledResource mb,
org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin)
getModelledResource
public ModelledResource getModelledResource()
getCapabilities
public org.apache.felix.bundlerepository.Capability[] getCapabilities()
- Specified by:
getCapabilities
in interface org.apache.felix.bundlerepository.Resource
getCategories
public String[] getCategories()
- Specified by:
getCategories
in interface org.apache.felix.bundlerepository.Resource
getId
public String getId()
- Specified by:
getId
in interface org.apache.felix.bundlerepository.Resource
getPresentationName
public String getPresentationName()
- Specified by:
getPresentationName
in interface org.apache.felix.bundlerepository.Resource
getProperties
public Map getProperties()
- Specified by:
getProperties
in interface org.apache.felix.bundlerepository.Resource
getRequirements
public org.apache.felix.bundlerepository.Requirement[] getRequirements()
- Specified by:
getRequirements
in interface org.apache.felix.bundlerepository.Resource
getSymbolicName
public String getSymbolicName()
- Specified by:
getSymbolicName
in interface org.apache.felix.bundlerepository.Resource
getURL
public URL getURL()
getVersion
public org.osgi.framework.Version getVersion()
- Specified by:
getVersion
in interface org.apache.felix.bundlerepository.Resource
getSize
public Long getSize()
- Specified by:
getSize
in interface org.apache.felix.bundlerepository.Resource
getURI
public String getURI()
- Specified by:
getURI
in interface org.apache.felix.bundlerepository.Resource
isLocal
public boolean isLocal()
- Specified by:
isLocal
in interface org.apache.felix.bundlerepository.Resource
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.