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.
FilePath.FileCallable
s 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:
-
SlaveToMasterCallable
RoleSensitive
- Serialized Form
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkRoles
(org.jenkinsci.remoting.RoleChecker checker) Deprecated.protected Object
Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.FilePath.FileCallable
invoke
-
Field Details
-
LOGGER
Deprecated.
-
-
Constructor Details
-
SlaveToMasterFileCallable
public SlaveToMasterFileCallable()Deprecated.
-
-
Method Details
-
checkRoles
Deprecated.- Specified by:
checkRoles
in interfaceorg.jenkinsci.remoting.RoleSensitive
- Throws:
SecurityException
-
readResolve
Deprecated.
-
SlaveToMasterCallable
instead (and only if you really have to), and think carefully about the security implications.