Class NotReallyRoleSensitiveCallable<V,T extends Throwable>

java.lang.Object
jenkins.security.NotReallyRoleSensitiveCallable<V,T>
All Implemented Interfaces:
hudson.remoting.Callable<V,T>, Serializable, org.jenkinsci.remoting.RoleSensitive

public abstract class NotReallyRoleSensitiveCallable<V,T extends Throwable> extends Object implements hudson.remoting.Callable<V,T>
Callable adapter for situations where Callable is not used for remoting but just as a convenient function that has parameterized return value and exception type.
Since:
1.587 / 1.580.1
Author:
Kohsuke Kawaguchi
See Also:
  • Constructor Details

    • NotReallyRoleSensitiveCallable

      public NotReallyRoleSensitiveCallable()
  • Method Details

    • checkRoles

      public void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
      Specified by:
      checkRoles in interface org.jenkinsci.remoting.RoleSensitive
      Throws:
      SecurityException