Class RequesterPermission
java.lang.Object
io.jenkins.plugins.batchcontrol.ui.RequesterPermission
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final class RequesterPermission
extends Object
D-38a: whether the requester of a run request (not the viewer) lacks
Item/Build
on the request's job, for the request detail page. Delegates to
RunRequestService.requesterLacksBuild(io.jenkins.plugins.batchcontrol.model.RunRequest), the predicate the approver notification uses
too, so the page and the mail cannot disagree. Read only.-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanlacksBuild(RunRequest request) static Stringnotice()The frozen sentence the detail page shows (RunRequestService.REQUESTER_LACKS_BUILD_NOTICE).
-
Method Details
-
lacksBuild
-
notice
The frozen sentence the detail page shows (RunRequestService.REQUESTER_LACKS_BUILD_NOTICE).
-