Interface Volume

    • Method Detail

      • 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