Class Device

    • Field Detail

      • driveUuid

        protected final String driveUuid
      • mediaType

        protected final MediaType mediaType
    • Constructor Detail

    • Method Detail

      • getId

        public abstract String getId()
        id generated based on the device bus, unit, and/or index numbers;
      • getDriveUuid

        public String getDriveUuid()
        Returns:
        Drive UUID to connect as specified device.
      • getMediaType

        public MediaType getMediaType()
        Returns:
        set to 'cdrom' to simulate a cdrom, set to 'disk' or leave unset to simulate a hard disk.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object