public static class ForkPullRequestDiscoveryTrait.TrustPermission extends jenkins.scm.api.trait.SCMHeadAuthority<GitHubSCMSourceRequest,PullRequestSCMHead,PullRequestSCMRevision>
SCMHeadAuthority
that trusts those with write permission to the repository.Modifier and Type | Class and Description |
---|---|
static class |
ForkPullRequestDiscoveryTrait.TrustPermission.DescriptorImpl
Our descriptor.
|
Constructor and Description |
---|
TrustPermission()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkTrusted(GitHubSCMSourceRequest request,
PullRequestSCMHead head) |
_for, all, checkTrusted, getDescriptor, isApplicableTo, isApplicableTo, isApplicableTo, isTrusted, isTrusted
protected boolean checkTrusted(@NonNull GitHubSCMSourceRequest request, @NonNull PullRequestSCMHead head) throws IOException, InterruptedException
checkTrusted
in class jenkins.scm.api.trait.SCMHeadAuthority<GitHubSCMSourceRequest,PullRequestSCMHead,PullRequestSCMRevision>
IOException
InterruptedException
Copyright © 2016–2020. All rights reserved.