public class SimpleDeployApplication extends AbstractDeployApplication implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleDeployApplication.BundleState |
| Constructor and Description |
|---|
SimpleDeployApplication(ScheduledExecutorService downloadExecutor) |
SimpleDeployApplication(ScheduledExecutorService downloadExecutor,
List<SimpleDeployApplication.BundleState> bundles) |
addValue, bundlesToXml, deleteDownload, executeDownload, executeInstall, executeOnBundle, executeStart, executeStop, executeUninstall, fillBundlesDocument, fillPackagesDocument, getBundles, getDownload, getInstall, getPackages, packagesToXml, toMetrics, toMetricspublic SimpleDeployApplication(ScheduledExecutorService downloadExecutor)
public SimpleDeployApplication(ScheduledExecutorService downloadExecutor, List<SimpleDeployApplication.BundleState> bundles)
public void close()
close in interface AutoCloseableprotected void executeDownload(Request request, DeploymentDownloadPackageRequest downloadRequest)
executeDownload in class AbstractDeployApplicationprotected void cancelDownload(Request request)
cancelDownload in class AbstractDeployApplicationprotected void executeInstall(Request request, DeploymentInstallPackageRequest installRequest)
executeInstall in class AbstractDeployApplicationprotected void executeUninstall(Request request, DeploymentUninstallPackageRequest uninstallRequest)
executeUninstall in class AbstractDeployApplicationprotected void internalInstallPackage(String name, String version, List<DeploymentPackageInformation.BundleInformation> bundles)
protected void internalInstallBundle(SimpleDeployApplication.BundleState bundle)
protected void internallUninstallBundle(String symbolicName, String version)
protected List<DeploymentPackageInformation> getPackages()
getPackages in class AbstractDeployApplicationprotected Optional<DownloadState> getDownloadState()
getDownloadState in class AbstractDeployApplicationprotected Optional<InstallState> getInstallState()
getInstallState in class AbstractDeployApplicationprotected List<BundleInformation> getBundles()
getBundles in class AbstractDeployApplicationprotected boolean startBundle(long bundleId)
startBundle in class AbstractDeployApplicationprotected boolean stopBundle(long bundleId)
stopBundle in class AbstractDeployApplicationCopyright © 2017. All rights reserved.