public interface SCMSourceCriteria extends Serializable
SCMSource out of all the branches and other heads
found in the repository.
Implementations should provide a correct implementation of Object.equals(Object) and
Object.hashCode()
| Modifier and Type | Interface and Description |
|---|---|
static class |
SCMSourceCriteria.Probe
A probe for a branch candidate.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isHead(SCMSourceCriteria.Probe probe,
TaskListener listener)
Validates if a potential head is actually a head.
|
boolean isHead(@NonNull
SCMSourceCriteria.Probe probe,
@NonNull
TaskListener listener)
throws IOException
probe - the SCMSourceCriteria.Probe for the head candidate.listener - a listener which may receive informational messages explaining why a head was accepted or
rejectedtrue iff the candidate should be included in the list of heads
built by Jenkins.IOException - if an error occurs while performing the operation.Copyright © 2016–2019. All rights reserved.