|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.vremanagement.deployer.impl.resources.BasePackage
org.gcube.common.vremanagement.deployer.impl.resources.BaseTypedPackage
org.gcube.common.vremanagement.deployer.impl.resources.deployment.ExternalDeployablePackage
public abstract class ExternalDeployablePackage
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.gcube.common.vremanagement.deployer.impl.resources.BaseTypedPackage |
|---|
BaseTypedPackage.TYPE |
| Field Summary | |
|---|---|
protected ExternalPackageExtractor |
extractor
|
protected AntRunner |
run
Local Ant runner |
| Fields inherited from class org.gcube.common.vremanagement.deployer.impl.resources.BasePackage |
|---|
dependencies, installScripts, key, logger, packageFiles, properties, rebootScripts, targetsToAdd, uninstallScripts |
| Method Summary | |
|---|---|
void |
clean()
Cleans up all the temporary resources used to deploy the package |
void |
deploy(Set<org.gcube.common.core.scope.GCUBEScope> targets)
Deploys the package |
abstract void |
deployPackage(Set<org.gcube.common.core.scope.GCUBEScope> targets)
|
BaseTypedPackage |
getSourcePackage()
|
void |
postDeploy()
Performs the post-deployment operations |
void |
preDeploy()
Performs the pre-deployment operations |
boolean |
requireRestart()
States if after the deployment, it is required to restart the container |
boolean |
verify()
Verifies if the package has been correctly deployed |
| Methods inherited from class org.gcube.common.vremanagement.deployer.impl.resources.BaseTypedPackage |
|---|
getType, setType |
| Methods inherited from class org.gcube.common.vremanagement.deployer.impl.resources.BasePackage |
|---|
addDependencies, 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, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.gcube.common.vremanagement.deployer.impl.resources.deployment.Deployable |
|---|
deployApp, getTargetPlatform, getTargetsToAdd, notifiyTargetsAdded, setTargetsToAdd |
| Field Detail |
|---|
protected transient AntRunner run
protected transient ExternalPackageExtractor extractor
| Method Detail |
|---|
public boolean verify()
throws InvalidPackageArchiveException
Deployable
verify in interface DeployableInvalidPackageArchiveException - if the package cannot be verified
public void preDeploy()
throws InvalidPackageArchiveException,
DeployException
Deployable
preDeploy in interface DeployableInvalidPackageArchiveException
DeployException
public void postDeploy()
throws InvalidPackageArchiveException,
DeployException
Deployable
postDeploy in interface DeployableDeployException
InvalidPackageArchiveException
public void clean()
throws DeployException
Deployable
clean in interface DeployableDeployExceptionpublic boolean requireRestart()
Deployable
requireRestart in interface Deployablepublic BaseTypedPackage getSourcePackage()
getSourcePackage in interface Deployable
public final void deploy(Set<org.gcube.common.core.scope.GCUBEScope> targets)
throws DeployException,
InvalidPackageArchiveException
Deployable
deploy in interface DeployableDeployException - if something fails during the deployment activities
InvalidPackageArchiveException - if the format of the downloaded package is not valid
public abstract void deployPackage(Set<org.gcube.common.core.scope.GCUBEScope> targets)
throws DeployException,
InvalidPackageArchiveException
DeployException
InvalidPackageArchiveException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||