Class ForkPullRequestDiscoveryTrait.TrustContributors
java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.scm.api.trait.SCMHeadAuthority<?,?,?>>
jenkins.scm.api.trait.SCMHeadAuthority<GitHubSCMSourceRequest,PullRequestSCMHead,PullRequestSCMRevision>
org.jenkinsci.plugins.github_branch_source.ForkPullRequestDiscoveryTrait.GitHubForkTrustPolicy
org.jenkinsci.plugins.github_branch_source.ForkPullRequestDiscoveryTrait.TrustContributors
- All Implemented Interfaces:
Describable<jenkins.scm.api.trait.SCMHeadAuthority<?,
?, ?>>
- Enclosing class:
- ForkPullRequestDiscoveryTrait
public static class ForkPullRequestDiscoveryTrait.TrustContributors
extends ForkPullRequestDiscoveryTrait.GitHubForkTrustPolicy
An
SCMHeadAuthority
that trusts contributors to the repository.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Our descriptor. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkTrusted
(GitHubSCMSourceRequest request, PullRequestSCMHead head) Methods inherited from class jenkins.scm.api.trait.SCMHeadAuthority
_for, all, checkTrusted, getDescriptor, isApplicableTo, isApplicableTo, isApplicableTo, isTrusted, isTrusted
-
Constructor Details
-
TrustContributors
@DataBoundConstructor public TrustContributors()Constructor.
-
-
Method Details
-
checkTrusted
protected boolean checkTrusted(@NonNull GitHubSCMSourceRequest request, @NonNull PullRequestSCMHead head) - Specified by:
checkTrusted
in classjenkins.scm.api.trait.SCMHeadAuthority<GitHubSCMSourceRequest,
PullRequestSCMHead, PullRequestSCMRevision>
-