|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hudson.plugins.virtualbox.VirtualBoxControlV42
public final class VirtualBoxControlV42
Constructor Summary | |
---|---|
VirtualBoxControlV42(String hostUrl,
String userName,
String password)
|
Method Summary | |
---|---|
void |
disconnect()
|
String |
getMacAddress(VirtualBoxMachine vbMachine,
VirtualBoxLogger log)
MAC Address of specified virtual machine. |
List<VirtualBoxMachine> |
getMachines(VirtualBoxCloud host,
VirtualBoxLogger log)
Get virtual machines installed on specified host. |
boolean |
isConnected()
|
long |
startVm(VirtualBoxMachine vbMachine,
String type,
VirtualBoxLogger log)
Starts specified VirtualBox virtual machine. |
long |
stopVm(VirtualBoxMachine vbMachine,
String stopMode,
VirtualBoxLogger log)
Stops specified VirtualBox virtual machine. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VirtualBoxControlV42(String hostUrl, String userName, String password)
Method Detail |
---|
public void disconnect()
disconnect
in interface VirtualBoxControl
public boolean isConnected()
isConnected
in interface VirtualBoxControl
public List<VirtualBoxMachine> getMachines(VirtualBoxCloud host, VirtualBoxLogger log)
getMachines
in interface VirtualBoxControl
host
- VirtualBox host
public long startVm(VirtualBoxMachine vbMachine, String type, VirtualBoxLogger log)
startVm
in interface VirtualBoxControl
vbMachine
- virtual machine to starttype
- session type (can be headless, vrdp, gui, sdl)log
-
public long stopVm(VirtualBoxMachine vbMachine, String stopMode, VirtualBoxLogger log)
stopVm
in interface VirtualBoxControl
vbMachine
- virtual machine to stoplog
-
public String getMacAddress(VirtualBoxMachine vbMachine, VirtualBoxLogger log)
getMacAddress
in interface VirtualBoxControl
vbMachine
- virtual machine
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |