public class ApplicationStatusImpl extends Object implements ApplicationStatus
ApplicationStatus.ApplicationState| Constructor and Description |
|---|
ApplicationStatusImpl(Application application,
ApplicationStatus.ApplicationState installState,
Set<org.apache.karaf.features.Feature> errorFeatures,
Set<org.osgi.framework.Bundle> errorBundles)
Creates a new instance of application status.
|
| Modifier and Type | Method and Description |
|---|---|
Application |
getApplication()
Application this status is for.
|
Set<org.osgi.framework.Bundle> |
getErrorBundles()
Gets the bundles for this application that are not properly installed.
|
Set<org.apache.karaf.features.Feature> |
getErrorFeatures()
Gets the features for this application that are not properly installed.
|
ApplicationStatus.ApplicationState |
getState()
Retrieves the state of the current application.
|
public ApplicationStatusImpl(Application application, ApplicationStatus.ApplicationState installState, Set<org.apache.karaf.features.Feature> errorFeatures, Set<org.osgi.framework.Bundle> errorBundles)
application - The application this status is for.installState - The state of the application.errorFeatures - Set of features that are in an error state.errorBundles - Set of bundles that are in an error state.public Application getApplication()
ApplicationStatusgetApplication in interface ApplicationStatuspublic ApplicationStatus.ApplicationState getState()
ApplicationStatusgetState in interface ApplicationStatusApplicationStatus.ApplicationState for the current applicationpublic Set<org.apache.karaf.features.Feature> getErrorFeatures()
ApplicationStatusgetErrorFeatures in interface ApplicationStatuspublic Set<org.osgi.framework.Bundle> getErrorBundles()
ApplicationStatusgetErrorBundles in interface ApplicationStatusThis work is licensed under a Creative Commons Attribution 4.0 International License.