Class QmpRemoveMedium
java.lang.Object
org.jdrupes.vmoperator.runner.qemu.commands.QmpCommand
org.jdrupes.vmoperator.runner.qemu.commands.QmpRemoveMedium
A
QmpCommand
that removes the medium from a CDROM drive.-
Field Summary
Fields inherited from class org.jdrupes.vmoperator.runner.qemu.commands.QmpCommand
mapper
-
Constructor Summary
-
Method Summary
Methods inherited from class org.jdrupes.vmoperator.runner.qemu.commands.QmpCommand
asText, parseJson
-
Constructor Details
-
QmpRemoveMedium
Instantiates a new qmp remove medium.- Parameters:
driveId
- the drive id
-
-
Method Details
-
toJson
Description copied from class:QmpCommand
Returns the Json to be sent to the Qemu process.- Specified by:
toJson
in classQmpCommand
- Returns:
- the json node
-
toString
To string.- Overrides:
toString
in classQmpCommand
- Returns:
- the string
-