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