Package hudson.node_monitors
Class DiskSpaceMonitorDescriptor.GetUsableSpace
- java.lang.Object
-
- jenkins.MasterToSlaveFileCallable<DiskSpaceMonitorDescriptor.DiskSpace>
-
- hudson.node_monitors.DiskSpaceMonitorDescriptor.GetUsableSpace
-
- All Implemented Interfaces:
FilePath.FileCallable<DiskSpaceMonitorDescriptor.DiskSpace>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
- Enclosing class:
- DiskSpaceMonitorDescriptor
protected static final class DiskSpaceMonitorDescriptor.GetUsableSpace extends MasterToSlaveFileCallable<DiskSpaceMonitorDescriptor.DiskSpace>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetUsableSpace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiskSpaceMonitorDescriptor.DiskSpace
invoke(File f, hudson.remoting.VirtualChannel channel)
Performs the computational task on the node where the data is located.-
Methods inherited from class jenkins.MasterToSlaveFileCallable
checkRoles
-
-
-
-
Method Detail
-
invoke
public DiskSpaceMonitorDescriptor.DiskSpace invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException
Description copied from interface:FilePath.FileCallable
Performs the computational task on the node where the data is located.All the exceptions are forwarded to the caller.
- Parameters:
f
-File
that represents the local file thatFilePath
has represented.channel
- The "back pointer" of theChannel
that represents the communication with the node from where the code was sent.- Throws:
IOException
-
-