Class RequestScope
java.lang.Object
io.jenkins.plugins.batchcontrol.ui.RequestScope
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final class RequestScope
extends Object
D-38b: where
BatchControl/Request is checked for a job-specific use (viewing, cancelling
or re-designating a run or activation request, requesting an activation or hold): the request's
item, so Request assigned on that job or a folder above it counts; Jenkins when the item no
longer exists.-
Method Summary
Modifier and TypeMethodDescriptionstatic AccessControlledThe item nameditemFullName, or Jenkins when it does not exist.
-
Method Details
-
of
The item nameditemFullName, or Jenkins when it does not exist. The caller then checks the permission on the result as itself.
-