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.UseSlaveToMasterCallable
instead (and only if you really have to), and think carefully about the security implications.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 anyFilePath
, it is your responsibility to validate it inFilePath.FileCallable.invoke(java.io.File, hudson.remoting.VirtualChannel)
.- Since:
- 1.587 / 1.580.1
- See Also:
SlaveToMasterCallable
,RoleSensitive
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SlaveToMasterFileCallable()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
checkRoles(org.jenkinsci.remoting.RoleChecker checker)
Deprecated.protected Object
readResolve()
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 Detail
-
LOGGER
public static final Logger LOGGER
Deprecated.
-
-
Method Detail
-
checkRoles
public void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
Deprecated.- Specified by:
checkRoles
in interfaceorg.jenkinsci.remoting.RoleSensitive
- Throws:
SecurityException
-
readResolve
protected Object readResolve()
Deprecated.
-
-