Package jenkins.scm.api.trait
Interface SCMSourceRequest.Witness<H extends SCMHead,R extends SCMRevision>
-
- Type Parameters:
H
- the type ofSCMHead
R
- the type ofSCMRevision
- Enclosing class:
- SCMSourceRequest
public static interface SCMSourceRequest.Witness<H extends SCMHead,R extends SCMRevision>
Callback lambda to track the results ofSCMSourceRequest.process(SCMHead, IntermediateLambda, ProbeLambda, LazyRevisionLambda, Witness[])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
record(H head, R revision, boolean isMatch)
Records the result of aSCMHead
.
-
-
-
Method Detail
-
record
void record(@NonNull H head, @CheckForNull R revision, boolean isMatch)
Records the result of aSCMHead
.- Parameters:
head
- theSCMHead
.revision
- (optional) the resolvedSCMRevision
.isMatch
-true
if the head matched.
-
-