Package jenkins

Class SlaveToMasterFileCallable<T>

java.lang.Object
jenkins.SlaveToMasterFileCallable<T>
All Implemented Interfaces:
FilePath.FileCallable<T>, Serializable, org.jenkinsci.remoting.RoleSensitive

@Deprecated public abstract class SlaveToMasterFileCallable<T> extends Object implements FilePath.FileCallable<T>
Deprecated.
Use SlaveToMasterCallable instead (and only if you really have to), and think carefully about the security implications.
FilePath.FileCallables that can be executed on the master, sent by the agent. Note that any serializable fields must either be defined in your plugin or included in the stock JEP-200 whitelist. Additionally, this callable can be called with any FilePath, it is your responsibility to validate it in FilePath.FileCallable.invoke(java.io.File, hudson.remoting.VirtualChannel).
Since:
1.587 / 1.580.1
See Also:
  • Field Details

    • LOGGER

      public static final Logger LOGGER
      Deprecated.
  • Constructor Details

    • SlaveToMasterFileCallable

      public SlaveToMasterFileCallable()
      Deprecated.
  • Method Details

    • checkRoles

      public void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
      Deprecated.
      Specified by:
      checkRoles in interface org.jenkinsci.remoting.RoleSensitive
      Throws:
      SecurityException
    • readResolve

      protected Object readResolve()
      Deprecated.