Package com.io7m.waxmill.machines
Class WXMVirtualMachines
java.lang.Object
com.io7m.waxmill.machines.WXMVirtualMachines
public final class WXMVirtualMachines
extends java.lang.Object
Functions over virtual machines.
-
Method Summary
Modifier and Type Method Description static java.util.Set<WXMBootConfigurationType>bootConfigurationsUsingDevice(WXMVirtualMachine machine, WXMDeviceSlot device)Return the set of boot configurations that are using the given device.static WXMVirtualMachineupdateWithDevice(WXMMachineMessages messages, WXMVirtualMachine machine, WXMDeviceType device, boolean replace)
-
Method Details
-
bootConfigurationsUsingDevice
public static java.util.Set<WXMBootConfigurationType> bootConfigurationsUsingDevice(WXMVirtualMachine machine, WXMDeviceSlot device)Return the set of boot configurations that are using the given device.- Parameters:
machine- The machinedevice- The device- Returns:
- The boot configurations, if any
-
updateWithDevice
public static WXMVirtualMachine updateWithDevice(WXMMachineMessages messages, WXMVirtualMachine machine, WXMDeviceType device, boolean replace) throws WXMExceptionDuplicate- Throws:
WXMExceptionDuplicate
-