public interface Application extends Attributable, Identifiable
Modifier and Type | Field and Description |
---|---|
static String |
APP_ID_BUNDLE_HEADER |
static String |
APP_NAME_BUNDLE_HEADER
This header is optional.
|
static String |
APP_VERSION_BUNDLE_HEADER |
Modifier and Type | Method and Description |
---|---|
Set<org.osgi.framework.Bundle> |
getBundles()
Returns all started bundles which are part of this application implementation.
|
ApplicationCategory |
getCategory()
Returns the category of this application.
|
String |
getName()
Returns the human readable application name.
|
ApplicationState |
getState()
Returns application activation state.
|
String |
getVendor()
Returns the vendor of this application.
|
String |
getVersion()
Returns installed version of this application.
|
void |
pause(ProgressMonitor monitor)
Stop application computation temporary.
|
void |
resume(ProgressMonitor monitor)
Resume this application if it has been paused.
|
void |
start(ProgressMonitor monitor)
Starts this application.
|
void |
stop(ProgressMonitor monitor)
Stops this application.
|
addVariableExtender, addVariableListener, getStateVariable, getStateVariables, getVariableExtenders, getVariableNames, getVariableValue, hasStateVariable, removeVariableExtender, removeVariableListener, setVariableValue
getId
static final String APP_ID_BUNDLE_HEADER
static final String APP_NAME_BUNDLE_HEADER
static final String APP_VERSION_BUNDLE_HEADER
String getName()
String getVendor()
String getVersion()
ApplicationCategory getCategory()
void start(ProgressMonitor monitor)
monitor
- a operation progress monitor (may be null)void stop(ProgressMonitor monitor)
monitor
- a operation progress monitor (may be null)void resume(ProgressMonitor monitor)
monitor
- a operation progress monitor (may be null)void pause(ProgressMonitor monitor)
monitor
- a operation progress monitor (may be null)Set<org.osgi.framework.Bundle> getBundles()
ApplicationState getState()
Copyright © 2012-2013 ADELE Research Group. All Rights Reserved.