Interface BitbucketSCMHeadDiscoveryHandler
-
public interface BitbucketSCMHeadDiscoveryHandler
Handles the discovery of different head types to be used by theBitbucketSCMSource.retrieve(SCMSourceCriteria, SCMHeadObserver, SCMHeadEvent, TaskListener)
method as part of processing arequest
.- Since:
- 4.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stream<? extends jenkins.scm.api.SCMHead>
discoverHeads()
jenkins.scm.api.SCMRevision
toRevision(jenkins.scm.api.SCMHead head)
Creates arevision
for the specified head.
-
-
-
Method Detail
-
discoverHeads
Stream<? extends jenkins.scm.api.SCMHead> discoverHeads()
- Returns:
- as stream of
heads
to be used for processing the source request
-
toRevision
jenkins.scm.api.SCMRevision toRevision(jenkins.scm.api.SCMHead head)
Creates arevision
for the specified head.- Parameters:
head
- the head to create a revision for- Returns:
- the revision for the specified head
-
-