Class StorageVolumes.Volume

java.lang.Object
io.jenkins.plugins.specsmonitor.StorageVolumes.Volume
All Implemented Interfaces:
Serializable
Enclosing class:
StorageVolumes

public static final class StorageVolumes.Volume extends Object implements Serializable
A drive or mounted volume.
See Also:
  • Method Details

    • getMount

      public String getMount()
      Drive letter or mount point, such as C:\ or /data.
    • getName

      public String getName()
      Device or volume label, such as /dev/sda1, //nas/share or Data.
    • getType

      public String getType()
      File system, such as NTFS, ext4 or overlay.
    • getDriveType

      public String getDriveType()
      SSD or HDD, or null if the node does not tell, as for network shares.
    • isReadOnly

      public boolean isReadOnly()
    • isWorkspace

      public boolean isWorkspace()
      Whether the working directory of the node, where builds run, is on this volume.
    • getTotalDisplay

      public String getTotalDisplay()
    • getFreeDisplay

      public String getFreeDisplay()
      Free space, with the share of the total, such as 120.5 GiB (24%).
    • percentFree

      public int percentFree()