|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeploymentAgentService
Field Summary | |
---|---|
static String |
EVENT_INSTALLED_TOPIC
Event topic on which the result of the deployment package installation is posted. |
static String |
EVENT_PACKAGE_NAME
Event property representing the symbolic name of the deployment package. |
static String |
EVENT_PACKAGE_URL
Event property representing the URL of the deployment package. |
static String |
EVENT_PACKAGE_VERSION
|
static String |
EVENT_SUCCESSFUL
Event property representing the success (true or false) of the deployment package installation. |
static String |
EVENT_UNINSTALLED_TOPIC
Event topic on which the result of the deployment package uninstallation is posted. |
Method Summary | |
---|---|
void |
installDeploymentPackageAsync(String url)
Installs a Deployment Package asynchronously fetching it at the given URL. |
boolean |
isInstallingDeploymentPackage(String url)
Asks if the installation of a deployment package at the given URL is pending. |
boolean |
isUninstallingDeploymentPackage(String name)
Asks if the uninstallation of a deployment package with the given symbolic name is pending. |
void |
uninstallDeploymentPackageAsync(String name)
Uninstalls a Deployment Package asynchronously. |
Field Detail |
---|
static final String EVENT_INSTALLED_TOPIC
static final String EVENT_PACKAGE_URL
static final String EVENT_SUCCESSFUL
static final String EVENT_UNINSTALLED_TOPIC
static final String EVENT_PACKAGE_NAME
static final String EVENT_PACKAGE_VERSION
Method Detail |
---|
void installDeploymentPackageAsync(String url) throws Exception
url
- The URL of the deployment package
Exception
- If the installation of a deployment package at the same URL is still pendinginstallDeploymentPackage
void uninstallDeploymentPackageAsync(String name) throws Exception
name
- The symbolic name of the deployment package
Exception
- If the uninstallation of a deployment package at the same symbolic name is still pendinguninstallDeploymentPackage
boolean isInstallingDeploymentPackage(String url)
url
- The URL of the deployment package
boolean isUninstallingDeploymentPackage(String name)
name
- The symbolic name of the deployment package
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |