SlaveToMasterCallable
instead (and only if you really have to), and think
carefully about the security implications.@Deprecated public abstract class SlaveToMasterFileCallable<T> extends Object implements FilePath.FileCallable<T>
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)
.SlaveToMasterCallable
,
RoleSensitive
,
Serialized FormConstructor and Description |
---|
SlaveToMasterFileCallable()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
checkRoles(org.jenkinsci.remoting.RoleChecker checker)
Deprecated.
|
protected Object |
readResolve()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
invoke
public static final Logger LOGGER
public void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
checkRoles
in interface org.jenkinsci.remoting.RoleSensitive
SecurityException
protected Object readResolve()
Copyright © 2004–2022. All rights reserved.