public class PlatformCall
extends java.lang.Object
VirtualPlatform
invocationConstructor and Description |
---|
PlatformCall(VirtualPlatform platform)
Creates a new abstract call for the target platform
|
Modifier and Type | Method and Description |
---|---|
PlatformApplication |
activate(GCUBERunningInstance instance)
Activates an instance
|
void |
activateAllInstances() |
PlatformApplication |
deactivate(GCUBERunningInstance instance)
Deactivates a running instance
|
void |
deactivateAllInstances() |
void |
initialize() |
void |
shutdown() |
public PlatformCall(VirtualPlatform platform)
platform
- the platform to invoke in the objet's methodspublic void initialize() throws java.lang.Exception
java.lang.Exception
public void shutdown() throws java.lang.Exception
java.lang.Exception
public void deactivateAllInstances()
public void activateAllInstances()
public PlatformApplication activate(GCUBERunningInstance instance) throws java.lang.Exception
instance
- the instance to activatejava.lang.Exception
public PlatformApplication deactivate(GCUBERunningInstance instance) throws java.lang.Exception
instance
- the instance to deactivatejava.lang.Exception