Class QmpRemoveMedium

java.lang.Object
org.jdrupes.vmoperator.runner.qemu.commands.QmpCommand
org.jdrupes.vmoperator.runner.qemu.commands.QmpRemoveMedium

public class QmpRemoveMedium extends QmpCommand
A QmpCommand that removes the medium from a CDROM drive.
  • Constructor Details

    • QmpRemoveMedium

      public QmpRemoveMedium(String driveId)
      Instantiates a new qmp remove medium.
      Parameters:
      driveId - the drive id
  • Method Details

    • toJson

      public com.fasterxml.jackson.databind.JsonNode toJson()
      Description copied from class: QmpCommand
      Returns the Json to be sent to the Qemu process.
      Specified by:
      toJson in class QmpCommand
      Returns:
      the json node
    • toString

      public String toString()
      To string.
      Overrides:
      toString in class QmpCommand
      Returns:
      the string