public interface Updatable
| Modifier and Type | Method and Description |
|---|---|
void |
postUpdate()
Performs the post-updating operations
|
void |
preUpdate()
Performs the pre-updating operations
|
boolean |
requireRestart()
States if after the updating, it is required to restart the container
|
void |
update(Set<org.gcube.common.core.scope.GCUBEScope> scopes,
boolean cleanState)
Update the package from the scopes
|
boolean |
verify()
Verifies if the package has been correctly updated
|
void update(Set<org.gcube.common.core.scope.GCUBEScope> scopes, boolean cleanState) throws UpdateException, InvalidPackageArchiveException
scopes - scopes from which the package has to be undeployedcleanState - states if the package's state must be also removed after undeploymentDeployExceptionInvalidPackageArchiveExceptionUpdateExceptionboolean verify()
throws InvalidPackageArchiveException
InvalidPackageArchiveException - if the package cannot be verifiedboolean requireRestart()
void postUpdate()
throws InvalidPackageArchiveException,
UpdateException
void preUpdate()
throws InvalidPackageArchiveException,
UpdateException
Copyright © 2015. All Rights Reserved.