public class UndeployablePluginPackage extends UndeployablePackage
BaseTypedPackage.TYPEdependencies, installScripts, key, logger, packageFiles, properties, rebootScripts, targetsToAdd, uninstallScripts| Constructor and Description |
|---|
UndeployablePluginPackage(BaseTypedPackage base)
Creates a new
UndeployablePluginPackage starting from BaseTypedPackage |
| 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 UndeployablePluginPackage(BaseTypedPackage base)
UndeployablePluginPackage starting from BaseTypedPackagebase - the starting packageprotected void packageUndeploy(Set<org.gcube.common.core.scope.GCUBEScope> scopes, boolean cleanState) throws DeployException, InvalidPackageArchiveException
packageUndeploy in class UndeployablePackagescopes - scopes from which the package has to be undeployedcleanState - states if the package's state must be also removed after undeploymentDeployExceptionInvalidPackageArchiveExceptionpublic boolean requireRestart()
requireRestart in interface UndeployablerequireRestart in class UndeployablePackagepublic boolean verify()
throws InvalidPackageArchiveException
verify in interface Undeployableverify in class UndeployablePackageInvalidPackageArchiveException - if the package cannot be verifiedCopyright © 2015. All Rights Reserved.