@Deprecated public abstract class MasterToSlaveCallable<V,T extends Throwable> extends Object implements hudson.remoting.Callable<V,T>, RoleSensitive
Callable meant to be run on slave.| Constructor and Description |
|---|
MasterToSlaveCallable()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkRoles(RoleChecker checker)
Deprecated.
Verifies the roles expected by this callable by invoking
RoleChecker.check(RoleSensitive, Collection)
method (or its variants), to provide an opportunity for RoleChecker to reject this object. |
public void checkRoles(RoleChecker checker) throws SecurityException
RoleSensitiveRoleChecker.check(RoleSensitive, Collection)
method (or its variants), to provide an opportunity for RoleChecker to reject this object.checkRoles in interface RoleSensitiveSecurityException - If there's a mismatch in the expected roles and the actual roles that should prevent
the execution of this callable.Copyright © 2004-2015. All Rights Reserved.