public class UndeployablePlatformApplication extends UndeployablePackage
BaseTypedPackage.TYPEdependencies, installScripts, key, logger, packageFiles, properties, rebootScripts, targetsToAdd, uninstallScripts| Constructor and Description |
|---|
UndeployablePlatformApplication(BaseTypedPackage base) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
packageUndeploy(Set<org.gcube.common.core.scope.GCUBEScope> scopes,
boolean cleanState)
Performs package-specific undeployment actions
|
boolean |
requireRestart()
States if after the undeployment, it is required to restart the container
|
boolean |
verify()
Verifies if the package has been correctly undeployed
|
addDependencies, addFile2Package, addInstallScript, addRebootScript, addScope, addUninstallScript, getDependencies, getInstallScripts, getKey, getPackageFileList, getProperty, getRebootScripts, getScopes, getScopesToAdd, getSerializationFile, getTargetPlatform, getType, getUninstallScripts, postUndeploy, preUndeploy, printFiles, removeFileFromPackage, removeScope, removeScopes, setProperty, setScopes, setScopesToAdd, setTargetPlatform, setType, undeploygetTargetsToAdd, notifiyTargetsAdded, setTargetsToAdd, toStringpublic UndeployablePlatformApplication(BaseTypedPackage base)
public boolean verify()
throws InvalidPackageArchiveException
Undeployableverify in interface Undeployableverify in class UndeployablePackageInvalidPackageArchiveException - if the package cannot be verifiedpublic boolean requireRestart()
UndeployablerequireRestart in interface UndeployablerequireRestart in class UndeployablePackageprotected void packageUndeploy(Set<org.gcube.common.core.scope.GCUBEScope> scopes, boolean cleanState) throws DeployException, InvalidPackageArchiveException
UndeployablePackagepackageUndeploy in class UndeployablePackagescopes - scopes from which the package has to be undeployedcleanState - states if the package's state must be also removed after undeploymentDeployExceptionInvalidPackageArchiveExceptionCopyright © 2015. All Rights Reserved.