public interface SCMSourceCriteria extends Serializable
SCMSource out of all the branches and other heads
found in the repository.| 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,
hudson.model.TaskListener listener)
Validates if a potential head is actually a head.
|
boolean isHead(@NonNull
SCMSourceCriteria.Probe probe,
@NonNull
hudson.model.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.IOExceptionCopyright © 2004-2013. All Rights Reserved.