Class NotReallyRoleSensitiveCallable<V,​T extends Throwable>

  • 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:
    Serialized Form
    • Constructor Detail

      • NotReallyRoleSensitiveCallable

        public NotReallyRoleSensitiveCallable()
    • Method Detail

      • checkRoles

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