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 WXMVirtualMachine` | `updateWithDevice​(WXMMachineMessages messages, WXMVirtualMachine machine, WXMDeviceType device, boolean replace)` |

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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 machine
      `device` - 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`