Interface ControllerToAgentFileCallable<T>

Type Parameters:
T - the return type; note that this must either be defined in your plugin or included in the stock JEP-200 whitelist
All Superinterfaces:
FilePath.FileCallable<T>, org.jenkinsci.remoting.RoleSensitive, Serializable
All Known Implementing Classes:
DiskSpaceMonitorDescriptor.GetUsableSpace, MasterToSlaveFileCallable, TemporarySpaceMonitor.GetTempSpace

public interface ControllerToAgentFileCallable<T> extends FilePath.FileCallable<T>
FilePath.FileCallable meant to be serialized then run on an agent. Like ControllerToAgentCallable this will typically be a Record.
Since:
2.485
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    checkRoles(org.jenkinsci.remoting.RoleChecker checker)
     

    Methods inherited from interface hudson.FilePath.FileCallable

    invoke
  • Method Details

    • checkRoles

      default void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
      Specified by:
      checkRoles in interface org.jenkinsci.remoting.RoleSensitive
      Throws:
      SecurityException