public interface Undeployable
| Modifier and Type | Method and Description |
|---|---|
void |
postUndeploy()
Performs the post-undeployment operations
|
void |
preUndeploy()
Performs the pre-undeployment operations
|
boolean |
requireRestart()
States if after the undeployment, it is required to restart the container
|
void |
undeploy(Set<org.gcube.common.core.scope.GCUBEScope> scopes,
boolean cleanState)
Undeploys the package from the scopes
|
boolean |
verify()
Verifies if the package has been correctly undeployed
|
void undeploy(Set<org.gcube.common.core.scope.GCUBEScope> scopes, boolean cleanState) throws DeployException, InvalidPackageArchiveException
scopes - scopes from which the package has to be undeployedcleanState - states if the package's state must be also removed after undeploymentDeployExceptionInvalidPackageArchiveExceptionboolean verify()
throws InvalidPackageArchiveException
InvalidPackageArchiveException - if the package cannot be verifiedboolean requireRestart()
void postUndeploy()
throws InvalidPackageArchiveException,
DeployException
void preUndeploy()
throws InvalidPackageArchiveException,
DeployException
Copyright © 2015. All Rights Reserved.