|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.aries.application.modelling.impl.ImportedBundleImpl
public class ImportedBundleImpl
A model of a Bundle imported, or required, by something. For example, an entry in an APPLICATION.MF.
| Constructor Summary | |
|---|---|
ImportedBundleImpl(String filterString,
Map<String,String> attributes)
Build an ImportedBundleImpl from filter string and a set of attributes. |
|
ImportedBundleImpl(String bundleName,
String versionRange)
Build an ImportedBundleImpl from a bundle name and version range. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Equal if symbolic names match and version strings match |
String |
getAttributeFilter()
|
String |
getSymbolicName()
Get the symbolic name of the imported bundle |
ResourceType |
getType()
|
String |
getVersionRange()
Get the version range on this bundle import |
int |
hashCode()
|
boolean |
isMultiple()
|
boolean |
isOptional()
|
boolean |
isSatisfied(Provider capability)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ImportedBundleImpl(String filterString,
Map<String,String> attributes)
throws InvalidAttributeException
filterString - For example as obtained from Requirement.getFilter()attributes -
InvalidAttributeException
public ImportedBundleImpl(String bundleName,
String versionRange)
throws InvalidAttributeException
bundleName - Bundle symbolic nameversionRange - Bundle version range
InvalidAttributeException| Method Detail |
|---|
public String getAttributeFilter()
getAttributeFilter in interface Consumerpublic ResourceType getType()
getType in interface Consumerpublic boolean isMultiple()
isMultiple in interface Consumerpublic boolean isOptional()
isOptional in interface Consumerpublic boolean isSatisfied(Provider capability)
isSatisfied in interface Consumerpublic String getVersionRange()
getVersionRange in interface ImportedBundlepublic String getSymbolicName()
getSymbolicName in interface ImportedBundlepublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||