public class BundleSummary extends java.lang.Object implements java.lang.Comparable<BundleSummary>
ManagedBundle
bundles in the catalog providing types,
essentially the symbolic name and version.
Extra fields listing the types may be added.
These are comparable in alpha-then-version order with most recent preferring non-snapshot versions first,
as per VersionComparator
.
Constructor and Description |
---|
BundleSummary(OsgiBundleWithUrl bundle) |
Modifier and Type | Method and Description |
---|---|
void |
addType(TypeSummary type) |
int |
compareTo(BundleSummary o2) |
java.util.Map<java.lang.String,java.lang.Object> |
getExtraFields()
Mutable map of other top-level metadata included on this DTO (eg listing config keys or effectors)
|
java.lang.String |
getSymbolicName() |
java.util.List<TypeSummary> |
getTypes() |
java.lang.String |
getVersion() |
void |
setExtraField(java.lang.String name,
java.lang.Object value) |
java.lang.String |
toString() |
public BundleSummary(OsgiBundleWithUrl bundle)
public java.util.Map<java.lang.String,java.lang.Object> getExtraFields()
public void setExtraField(java.lang.String name, java.lang.Object value)
public void addType(TypeSummary type)
public int compareTo(BundleSummary o2)
compareTo
in interface java.lang.Comparable<BundleSummary>
public java.lang.String getSymbolicName()
public java.lang.String getVersion()
public java.util.List<TypeSummary> getTypes()
public java.lang.String toString()
toString
in class java.lang.Object