Class DiscardOldBranchTrait.ExcludeOldSCMHeadBranch
java.lang.Object
jenkins.scm.api.trait.SCMHeadFilter
com.cloudbees.jenkins.plugins.bitbucket.trait.DiscardOldBranchTrait.ExcludeOldSCMHeadBranch
- Enclosing class:
- DiscardOldBranchTrait
public final class DiscardOldBranchTrait.ExcludeOldSCMHeadBranch
extends jenkins.scm.api.trait.SCMHeadFilter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isExcluded
(jenkins.scm.api.trait.SCMSourceRequest request, jenkins.scm.api.SCMHead head)
-
Constructor Details
-
ExcludeOldSCMHeadBranch
public ExcludeOldSCMHeadBranch()
-
-
Method Details
-
isExcluded
public boolean isExcluded(jenkins.scm.api.trait.SCMSourceRequest request, jenkins.scm.api.SCMHead head) throws IOException, InterruptedException - Specified by:
isExcluded
in classjenkins.scm.api.trait.SCMHeadFilter
- Throws:
IOException
InterruptedException
-