Package io.jenkins.plugins.specsmonitor
Class StorageVolumes.Volume
java.lang.Object
io.jenkins.plugins.specsmonitor.StorageVolumes.Volume
- All Implemented Interfaces:
Serializable
- Enclosing class:
StorageVolumes
A drive or mounted volume.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionSSDorHDD, ornullif the node does not tell, as for network shares.Free space, with the share of the total, such as120.5 GiB (24%).getMount()Drive letter or mount point, such asC:\or/data.getName()Device or volume label, such as/dev/sda1,//nas/shareorData.getType()File system, such asNTFS,ext4oroverlay.booleanbooleanWhether the working directory of the node, where builds run, is on this volume.int
-
Method Details
-
getMount
Drive letter or mount point, such asC:\or/data. -
getName
Device or volume label, such as/dev/sda1,//nas/shareorData. -
getType
File system, such asNTFS,ext4oroverlay. -
getDriveType
SSDorHDD, ornullif 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
-
getFreeDisplay
Free space, with the share of the total, such as120.5 GiB (24%). -
percentFree
public int percentFree()
-