Package com.io7m.waxmill.machines
Interface WXMBootConfigurationType
- All Known Subinterfaces:
WXMBootConfigurationType.WXMBootConfigurationGRUBBhyveType,WXMBootConfigurationType.WXMBootConfigurationUEFIType
- All Known Implementing Classes:
WXMBootConfigurationGRUBBhyve,WXMBootConfigurationUEFI
public interface WXMBootConfigurationType
A boot configuration.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classWXMBootConfigurationType.KindThe kind of boot configurations.static interfaceWXMBootConfigurationType.WXMBootConfigurationGRUBBhyveTypeA boot configuration that uses grub-bhyve.static interfaceWXMBootConfigurationType.WXMBootConfigurationUEFITypeA boot configuration that uses UEFI.static interfaceWXMBootConfigurationType.WXMBootDiskAttachmentTypeA disk attachment.static interfaceWXMBootConfigurationType.WXMEvaluatedBootCommandsTypeA set of boot commands.static interfaceWXMBootConfigurationType.WXMEvaluatedBootConfigurationGRUBBhyveTypeA set of evaluated commands used to boot with grub-bhyve.static interfaceWXMBootConfigurationType.WXMEvaluatedBootConfigurationTypeThe type of evaluated boot configurations.static interfaceWXMBootConfigurationType.WXMEvaluatedBootConfigurationUEFITypeA set of evaluated commands used to boot with UEFI.static interfaceWXMBootConfigurationType.WXMGRUBKernelInstructionsTypeOperating system specific GRUB boot instructions.static interfaceWXMBootConfigurationType.WXMGRUBKernelLinuxTypeLinux kernel instructions.static interfaceWXMBootConfigurationType.WXMGRUBKernelOpenBSDTypeOpenBSD kernel instructions. -
Method Summary
Modifier and Type Method Description default java.lang.Stringcomment()default java.util.Map<WXMDeviceSlot,WXMBootDiskAttachment>diskAttachmentMap()java.util.List<WXMBootDiskAttachment>diskAttachments()WXMBootConfigurationType.Kindkind()WXMBootConfigurationNamename()The unique-within-a-virtual-machine name of the boot configuration.java.util.Set<WXMDeviceSlot>requiredDevices()
-
Method Details
-
kind
- Returns:
- The kind of boot configuration
-
name
WXMBootConfigurationName name()The unique-within-a-virtual-machine name of the boot configuration.- Returns:
- The name of the boot configuration
-
comment
default java.lang.String comment()- Returns:
- A comment
-
requiredDevices
java.util.Set<WXMDeviceSlot> requiredDevices()- Returns:
- The set of devices required by the boot configuration
-
diskAttachments
java.util.List<WXMBootDiskAttachment> diskAttachments()- Returns:
- The disks attached to the virtual machine on boot
-
diskAttachmentMap
- Returns:
- The disk attachments by device slot
-