public class DPlugin extends DeployablePackage
BaseTypedPackage.TYPE| Modifier and Type | Field and Description |
|---|---|
protected String |
baseTargetDir |
protected org.gcube.common.core.resources.service.Plugin |
packageprofile |
deploymentTime, extractor, run, serviceID, serviceprofiledependencies, installScripts, key, logger, packageFiles, properties, rebootScripts, targetsToAdd, uninstallScripts| Constructor and Description |
|---|
DPlugin(org.gcube.common.core.resources.service.Plugin packageprofile,
PackageExtractor extractor) |
| Modifier and Type | Method and Description |
|---|---|
void |
deployPackage(Set<org.gcube.common.core.scope.GCUBEScope> targets) |
protected org.gcube.common.core.resources.service.Package |
getPackageProfile()
Gets the package profile
|
boolean |
requireRestart()
States if after the deployment, it is required to restart the container
|
boolean |
verify()
Verifies if the package has been correctly deployed
|
analysePackage, clean, deploy, deployApp, getDeploymentTime, getServiceID, getServiceProfile, getSourcePackage, notifyDeployCompleted, postDeploy, preDeploy, runInstallScriptsgetType, setTypeaddDependencies, addFile2Package, addInstallScript, addRebootScript, addScope, addUninstallScript, getDependencies, getInstallScripts, getKey, getPackageFileList, getProperty, getRebootScripts, getScopes, getScopesToAdd, getSerializationFile, getTargetPlatform, getTargetsToAdd, getUninstallScripts, notifiyTargetsAdded, printFiles, removeFileFromPackage, removeScope, removeScopes, setProperty, setScopes, setScopesToAdd, setTargetPlatform, setTargetsToAdd, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTargetPlatform, getTargetsToAdd, notifiyTargetsAdded, setTargetsToAddprotected String baseTargetDir
protected transient org.gcube.common.core.resources.service.Plugin packageprofile
public DPlugin(org.gcube.common.core.resources.service.Plugin packageprofile,
PackageExtractor extractor)
throws Exception
packageprofile - downloader - Exceptionpublic void deployPackage(Set<org.gcube.common.core.scope.GCUBEScope> targets) throws DeployException, InvalidPackageArchiveException
deployPackage in class DeployablePackageDeployExceptionInvalidPackageArchiveExceptionprotected org.gcube.common.core.resources.service.Package getPackageProfile()
getPackageProfile in class DeployablePackagepublic boolean requireRestart()
public boolean verify()
throws InvalidPackageArchiveException
InvalidPackageArchiveException - if the package cannot be verifiedCopyright © 2015. All Rights Reserved.