title: Get all Snapshots for a Machine (VirtualBox Java API)
body: <p>I'm using the Java API for VirtualBox from the SDK version <em>"VirtualBoxSDK-5.1.22-115126"</em> (vboxjws.jar). </p>
  
  <p>I want to get a List of all snapshots belonging to the <em>IMachine</em> object (object representing one virtual machine) that I'm working with.</p>
  
  <p><em>IMachine</em> has the method <a href="https://www.virtualbox.org/sdkref/interface_i_machine.html#abce8554c37a221ab8d493bacc0dafff4" rel="nofollow noreferrer"><em>findSnapshot(String nameOrId)</em></a> which returns a snapshot for the given name or UUID. But I want a list of ALL snapshots the machine has...</p>
  
  <p>The command line interface <em>vboxmanage</em> is able to return a list of all snapshots with the command:</p>
  
  <pre><code>vboxmanage snapshot &lt;uuid|vmname&gt; list
  </code></pre>
  
  <p>(source: <a href="https://www.virtualbox.org/manual/ch08.html#idm4900" rel="nofollow noreferrer">https://www.virtualbox.org/manual/ch08.html#idm4900</a>)</p>
  
  <p>So is this method missing in the API by design or have the developers from Oracle just forgotten to implement it? (would proof that they are just human beings too ;))</p>