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()
Application
getName
in interface Application
public String getVersion()
Application
getVersion
in interface Application
public String getDescription()
Application
getDescription
in interface Application
public Set<org.apache.karaf.features.Feature> getFeatures() throws ApplicationServiceException
Application
getFeatures
in interface Application
ApplicationServiceException
public Set<org.apache.karaf.features.Feature> getAutoInstallFeatures()
getAutoInstallFeatures
in interface Application
public org.apache.karaf.features.Feature getMainFeature()
Application
getMainFeature
in interface Application
public Set<org.apache.karaf.features.BundleInfo> getBundles() throws ApplicationServiceException
Application
getBundles
in interface Application
ApplicationServiceException
public int compareTo(Application otherApp)
compareTo
in interface Comparable<Application>
public URI getURI()
Application
getURI
in interface Application
This work is licensed under a Creative Commons Attribution 4.0 International License.