Package javaforce.vm

Class Disk

java.lang.Object
javaforce.vm.Disk
All Implemented Interfaces:
Serializable

public class Disk extends Object implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • Disk

      public Disk()
  • Method Details

    • getType

      public String getType()
    • getType

      public static int getType(String ext)
    • getFolder

      public String getFolder()
    • getPath

      public String getPath()
    • getPath

      public String getPath(String pool)
      Get path using a different pool.
    • exists

      public boolean exists()
    • exists

      public boolean exists(String pool)
    • create

      public boolean create(int provision)
      Provision virtual disk for a VirtualMachine.
    • resize

      public boolean resize(Storage pool)
    • getHardwareXML

      public String getHardwareXML(int os)
    • toString

      public String toString()
      Overrides:
      toString in class Object