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 theSCMRevision
instance for a specificSCMHead
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
create(H head)
Creates aSCMRevision
for the specifiedSCMHead
.
-
-
-
Method Detail
-
create
@NonNull R create(@NonNull H head) throws IOException, InterruptedException
Creates aSCMRevision
for the specifiedSCMHead
.- Parameters:
head
- theSCMHead
.- Returns:
- the
SCMRevision
. - Throws:
IOException
- if there is an I/O error.InterruptedException
- if the operation was interrupted.
-
-