Interface Volume

All Known Implementing Classes:
VolumeImpl

public interface Volume
Describes what appears as a disk to an OperatingSystem
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Describes the cardinal type of a volume; used to determine scope and exclusivity.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Unique identifier.
     
    Describes the cardinal type of a volume; used to determine scope and exclusivity.
    boolean
     
    boolean
     
  • Method Details

    • getId

      @Nullable String getId()
      Unique identifier. If set, can be used to reference the volume for reorganizing within Hardware or external commands such as backups.
    • getType

      Volume.Type getType()
      Describes the cardinal type of a volume; used to determine scope and exclusivity.
    • getSize

      @Nullable Float getSize()
      Returns:
      capacity in gigabytes, if available
    • getDevice

      @Nullable String getDevice()
      Returns:
      device this volume relates to on an operating system, if available
    • isDurable

      boolean isDurable()
      Returns:
      true if this survives restarts
    • isBootDevice

      boolean isBootDevice()
      Returns:
      true if this is the boot device