public class ApplicationImpl extends Object implements Application, Comparable<Application>
| Constructor and Description |
|---|
ApplicationImpl(org.apache.karaf.features.Repository repo)
Creates a new instance of application.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Application otherApp) |
boolean |
equals(Object obj) |
Set<org.apache.karaf.features.Feature> |
getAutoInstallFeatures() |
Set<org.apache.karaf.features.BundleInfo> |
getBundles()
Gets all of the bundles that this application contains.
|
String |
getDescription()
Short description of the application.
|
Set<org.apache.karaf.features.Feature> |
getFeatures()
Gets the features that this application contains.
|
org.apache.karaf.features.Feature |
getMainFeature()
If applicable, returns the single feature in the application that is auto-started.
|
String |
getName()
Name describing the application.
|
URI |
getURI()
Retrieves the URI for the underlying application.
|
String |
getVersion()
Version of the application
|
int |
hashCode() |
String |
toString() |
public ApplicationImpl(org.apache.karaf.features.Repository repo)
repo - Creates the application from a Karaf Feature Repository object.public String getName()
ApplicationgetName in interface Applicationpublic String getVersion()
ApplicationgetVersion in interface Applicationpublic String getDescription()
ApplicationgetDescription in interface Applicationpublic Set<org.apache.karaf.features.Feature> getFeatures() throws ApplicationServiceException
ApplicationgetFeatures in interface ApplicationApplicationServiceExceptionpublic Set<org.apache.karaf.features.Feature> getAutoInstallFeatures()
getAutoInstallFeatures in interface Applicationpublic org.apache.karaf.features.Feature getMainFeature()
ApplicationgetMainFeature in interface Applicationpublic Set<org.apache.karaf.features.BundleInfo> getBundles() throws ApplicationServiceException
ApplicationgetBundles in interface ApplicationApplicationServiceExceptionpublic int compareTo(Application otherApp)
compareTo in interface Comparable<Application>public URI getURI()
ApplicationgetURI in interface ApplicationThis work is licensed under a Creative Commons Attribution 4.0 International License.