Package hudson.plugins.libvirt
Class ComputerUtils
- java.lang.Object
-
- hudson.plugins.libvirt.ComputerUtils
-
public final class ComputerUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
disconnect(String name, Computer computer, TaskListener listener, OfflineCause cause)
static void
disconnect(String name, Computer computer, OfflineCause cause)
static void
revertToSnapshot(VirtualMachine virtualMachine, String snapshotName)
static void
revertToSnapshot(VirtualMachine virtualMachine, String snapshotName, TaskListener listener)
static void
start(VirtualMachine virtualMachine)
static void
start(VirtualMachine virtualMachine, TaskListener listener)
static void
stop(VirtualMachine virtualMachine, String shutdownMethod)
static void
stop(VirtualMachine virtualMachine, String shutdownMethod, TaskListener listener)
-
-
-
Method Detail
-
disconnect
public static void disconnect(String name, Computer computer, OfflineCause cause)
-
disconnect
public static void disconnect(String name, Computer computer, @CheckForNull TaskListener listener, OfflineCause cause)
-
start
public static void start(VirtualMachine virtualMachine)
-
start
public static void start(VirtualMachine virtualMachine, @CheckForNull TaskListener listener)
-
stop
public static void stop(VirtualMachine virtualMachine, String shutdownMethod)
-
stop
public static void stop(VirtualMachine virtualMachine, String shutdownMethod, @CheckForNull TaskListener listener)
-
revertToSnapshot
public static void revertToSnapshot(VirtualMachine virtualMachine, String snapshotName)
-
revertToSnapshot
public static void revertToSnapshot(VirtualMachine virtualMachine, String snapshotName, @CheckForNull TaskListener listener)
-
-