|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.vremanagement.deployer.impl.platforms.PlatformCall
public class PlatformCall
An abstraction over a VirtualPlatform invocation
| Constructor Summary | |
|---|---|
PlatformCall(org.gcube.vremanagement.virtualplatform.image.VirtualPlatform platform)
Creates a new abstract call for the target platform |
|
| Method Summary | |
|---|---|
void |
activate(DeployablePackage pack)
Activates a package |
void |
activate(String name,
String path)
Activates a package given its name and application path |
void |
deactivate(String name,
String path)
Deactivates a package |
void |
deactivate(UndeployablePackage pack)
Deactivates a package |
PlatformApplication |
deactivateAndUndeploy(UndeployablePackage pack)
|
PlatformApplication |
deploy(DeployablePackage pack,
List<File> files,
List<String> endpoints)
Deploys a package |
PlatformApplication |
deployAndActivate(DeployablePackage pack,
List<File> files,
List<String> endpoints)
A wrapper around the #deploy(DeployablePackage) and activate(DeployablePackage) methods |
PlatformApplication |
undeploy(UndeployablePackage pack)
Undeploys the package |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlatformCall(org.gcube.vremanagement.virtualplatform.image.VirtualPlatform platform)
platform - the platform to invoke in the objet's methods| Method Detail |
|---|
public PlatformApplication deploy(DeployablePackage pack,
List<File> files,
List<String> endpoints)
throws Exception
pack - the package to deployendpoints -
Exception
public PlatformApplication deployAndActivate(DeployablePackage pack,
List<File> files,
List<String> endpoints)
throws Exception
#deploy(DeployablePackage) and activate(DeployablePackage) methods
pack - the package to deploy and ativatefiles - the list of files belonging the packagelist - the endpoints as extracted from the package profile
Exception
public void activate(DeployablePackage pack)
throws Exception
pack - the package to activate
Exception
public void activate(String name,
String path)
throws Exception
name - the package to activatepath - the path of the package to activate
Exception
public void deactivate(UndeployablePackage pack)
throws Exception
pack - the package to deactivate
Exception
public void deactivate(String name,
String path)
throws Exception
name - the name of the package to deactivatepath - the path of the package to deactivate
Exception
public PlatformApplication undeploy(UndeployablePackage pack)
throws Exception
pack - the package to undeploy
Exception
public PlatformApplication deactivateAndUndeploy(UndeployablePackage pack)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||