Class BranchDiscoveryTrait.BranchSCMHeadAuthority
java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.scm.api.trait.SCMHeadAuthority<?,?,?>>
jenkins.scm.api.trait.SCMHeadAuthority<jenkins.scm.api.trait.SCMSourceRequest,BranchSCMHead,jenkins.scm.api.SCMRevision>
com.cloudbees.jenkins.plugins.bitbucket.BranchDiscoveryTrait.BranchSCMHeadAuthority
- All Implemented Interfaces:
Describable<jenkins.scm.api.trait.SCMHeadAuthority<?,
?, ?>>
- Enclosing class:
- BranchDiscoveryTrait
public static class BranchDiscoveryTrait.BranchSCMHeadAuthority
extends jenkins.scm.api.trait.SCMHeadAuthority<jenkins.scm.api.trait.SCMSourceRequest,BranchSCMHead,jenkins.scm.api.SCMRevision>
Trusts branches from the origin repository.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Out descriptor. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkTrusted
(jenkins.scm.api.trait.SCMSourceRequest request, BranchSCMHead head) Methods inherited from class jenkins.scm.api.trait.SCMHeadAuthority
_for, all, checkTrusted, getDescriptor, isApplicableTo, isApplicableTo, isApplicableTo, isTrusted, isTrusted
-
Constructor Details
-
BranchSCMHeadAuthority
public BranchSCMHeadAuthority()
-
-
Method Details
-
checkTrusted
protected boolean checkTrusted(@NonNull jenkins.scm.api.trait.SCMSourceRequest request, @NonNull BranchSCMHead head) - Specified by:
checkTrusted
in classjenkins.scm.api.trait.SCMHeadAuthority<jenkins.scm.api.trait.SCMSourceRequest,
BranchSCMHead, jenkins.scm.api.SCMRevision>
-