|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Deployable
Interface for deployable packages
| 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 |
String |
deployApp(Set<org.gcube.common.core.scope.GCUBEScope> targets)
Deploys the package as an application |
BaseTypedPackage |
getSourcePackage()
|
org.gcube.common.core.resources.common.PlatformDescription |
getTargetPlatform()
|
List<org.gcube.common.core.scope.GCUBEScope> |
getTargetsToAdd()
|
void |
notifiyTargetsAdded(List<org.gcube.common.core.scope.GCUBEScope> targets)
|
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 |
void |
setTargetsToAdd(List<org.gcube.common.core.scope.GCUBEScope> targetsToAdd)
|
boolean |
verify()
Verifies if the package has been correctly deployed |
| Method Detail |
|---|
void deploy(Set<org.gcube.common.core.scope.GCUBEScope> targets)
throws DeployException,
InvalidPackageArchiveException
scopes - target scopes where the package is deployed
DeployException - if something fails during the deployment activities
InvalidPackageArchiveException - if the format of the downloaded package is not valid
boolean verify()
throws InvalidPackageArchiveException
InvalidPackageArchiveException - if the package cannot be verified
void preDeploy()
throws InvalidPackageArchiveException,
DeployException
DeployException
InvalidPackageArchiveException
void postDeploy()
throws InvalidPackageArchiveException,
DeployException
DeployException
InvalidPackageArchiveException
void clean()
throws DeployException
DeployExceptionboolean requireRestart()
org.gcube.common.core.resources.common.PlatformDescription getTargetPlatform()
String deployApp(Set<org.gcube.common.core.scope.GCUBEScope> targets)
throws DeployException,
InvalidPackageArchiveException
targets - target scopes
DeployException
InvalidPackageArchiveExceptionBaseTypedPackage getSourcePackage()
List<org.gcube.common.core.scope.GCUBEScope> getTargetsToAdd()
void setTargetsToAdd(List<org.gcube.common.core.scope.GCUBEScope> targetsToAdd)
void notifiyTargetsAdded(List<org.gcube.common.core.scope.GCUBEScope> targets)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||