public class CatalogBundleDto extends java.lang.Object implements CatalogItem.CatalogBundle
| Constructor and Description |
|---|
CatalogBundleDto() |
CatalogBundleDto(java.lang.String name,
java.lang.String version,
java.lang.String url) |
CatalogBundleDto(java.lang.String name,
java.lang.String version,
java.lang.String url,
Credentials credential) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getOsgiVersionString()
guaranteed to be in OSGi syntax, or null if name+version not available
|
java.lang.String |
getSuppliedVersionString()
string as defined by caller; not necessarily in OSGi syntax
|
java.lang.String |
getSymbolicName() |
java.lang.String |
getUrl()
where this bundle can be downloaded; typically required unless we are guaranteed the bundle will be manually installed or handled by persistence
|
Credentials |
getUrlCredential() |
VersionedName |
getVersionedName() |
int |
hashCode() |
boolean |
isNameResolved() |
static Maybe<CatalogItem.CatalogBundle> |
resolve(ManagementContext mgmt,
CatalogItem.CatalogBundle b) |
java.lang.String |
toString() |
public CatalogBundleDto()
public CatalogBundleDto(java.lang.String name,
java.lang.String version,
java.lang.String url)
public CatalogBundleDto(java.lang.String name,
java.lang.String version,
java.lang.String url,
@Nullable
Credentials credential)
public boolean isNameResolved()
isNameResolved in interface OsgiBundleWithUrlpublic java.lang.String getSymbolicName()
getSymbolicName in interface OsgiBundleWithUrlpublic java.lang.String getSuppliedVersionString()
OsgiBundleWithUrlgetSuppliedVersionString in interface OsgiBundleWithUrlpublic java.lang.String getOsgiVersionString()
OsgiBundleWithUrlgetOsgiVersionString in interface OsgiBundleWithUrlpublic VersionedName getVersionedName()
getVersionedName in interface OsgiBundleWithUrlVersionedName for this bundle, or null if not availablepublic java.lang.String getUrl()
OsgiBundleWithUrlgetUrl in interface OsgiBundleWithUrlpublic Credentials getUrlCredential()
getUrlCredential in interface OsgiBundleWithUrlOsgiBundleWithUrl.getUrl().public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic static Maybe<CatalogItem.CatalogBundle> resolve(ManagementContext mgmt, CatalogItem.CatalogBundle b)