Class ForkPullRequestDiscoveryTrait.TrustNobody
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.TrustNobody
- All Implemented Interfaces:
Describable<jenkins.scm.api.trait.SCMHeadAuthority<?,
?, ?>>
- Enclosing class:
- ForkPullRequestDiscoveryTrait
public static class ForkPullRequestDiscoveryTrait.TrustNobody
extends ForkPullRequestDiscoveryTrait.BitbucketForkTrustPolicy
An
SCMHeadAuthority
that trusts nothing.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Our descriptor. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
TrustNobody
@DataBoundConstructor public TrustNobody()Constructor.
-
-
Method Details
-
checkTrusted
public boolean checkTrusted(@NonNull BitbucketSCMSourceRequest request, @NonNull PullRequestSCMHead head) - Specified by:
checkTrusted
in classjenkins.scm.api.trait.SCMHeadAuthority<BitbucketSCMSourceRequest,
PullRequestSCMHead, PullRequestSCMRevision>
-