Class ForkPullRequestDiscoveryTrait.TrustTeamForks
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.TrustTeamForks
- All Implemented Interfaces:
Describable<jenkins.scm.api.trait.SCMHeadAuthority<?,
?, ?>>
- Enclosing class:
- ForkPullRequestDiscoveryTrait
public static class ForkPullRequestDiscoveryTrait.TrustTeamForks
extends ForkPullRequestDiscoveryTrait.BitbucketForkTrustPolicy
An
SCMHeadAuthority
that trusts forks belonging to the same account.-
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
-
TrustTeamForks
@DataBoundConstructor public TrustTeamForks()Constructor.
-
-
Method Details
-
checkTrusted
protected boolean checkTrusted(@NonNull BitbucketSCMSourceRequest request, @NonNull PullRequestSCMHead head) throws IOException, InterruptedException - Specified by:
checkTrusted
in classjenkins.scm.api.trait.SCMHeadAuthority<BitbucketSCMSourceRequest,
PullRequestSCMHead, PullRequestSCMRevision> - Throws:
IOException
InterruptedException
-