Interface BitbucketSCMHeadDiscoveryHandler
- 
public interface BitbucketSCMHeadDiscoveryHandlerHandles 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.SCMRevisiontoRevision(jenkins.scm.api.SCMHead head)Creates arevisionfor the specified head. 
 - 
 
- 
- 
Method Detail
- 
discoverHeads
Stream<? extends jenkins.scm.api.SCMHead> discoverHeads()
- Returns:
 - as stream of 
headsto be used for processing the source request 
 
- 
toRevision
jenkins.scm.api.SCMRevision toRevision(jenkins.scm.api.SCMHead head)
Creates arevisionfor the specified head.- Parameters:
 head- the head to create a revision for- Returns:
 - the revision for the specified head
 
 
 - 
 
 -