Package jenkins.scm.api.trait
Interface SCMSourceRequest.RevisionLambda<H extends SCMHead,R extends SCMRevision>
- Type Parameters:
H- the type ofSCMHead.R- the type ofSCMRevision.
- Enclosing class:
- SCMSourceRequest
public static interface SCMSourceRequest.RevisionLambda<H extends SCMHead,R extends SCMRevision>
A lambda that will create the
SCMRevision instance for a specific SCMHead.-
Method Summary
-
Method Details
-
create
Creates aSCMRevisionfor the specifiedSCMHead.- Parameters:
head- theSCMHead.- Returns:
- the
SCMRevision. - Throws:
IOException- if there is an I/O error.InterruptedException- if the operation was interrupted.
-