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.TrustTeamForks
-
- All Implemented Interfaces:
Describable<jenkins.scm.api.trait.SCMHeadAuthority<?,?,?>>
- Enclosing class:
- ForkPullRequestDiscoveryTrait
public static class ForkPullRequestDiscoveryTrait.TrustTeamForks extends jenkins.scm.api.trait.SCMHeadAuthority<BitbucketSCMSourceRequest,PullRequestSCMHead,PullRequestSCMRevision>
AnSCMHeadAuthority
that trusts forks belonging to the same account.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ForkPullRequestDiscoveryTrait.TrustTeamForks.DescriptorImpl
Our descriptor.
-
Constructor Summary
Constructors Constructor Description TrustTeamForks()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
checkTrusted(BitbucketSCMSourceRequest request, PullRequestSCMHead head)
-
-
-
Method Detail
-
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
-
-