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