| Package | Description |
|---|---|
| jenkins.scm.api |
The public API contract of the SCM API plugin.
|
| jenkins.scm.api.trait |
An API/SPI to allow the sharing of common traits between different
SCMSource and
SCMNavigator implementations. |
| jenkins.scm.impl |
The common implementations of classes in the public API.
|
| Modifier and Type | Method and Description |
|---|---|
protected SCMSourceCriteria |
SCMSource.getCriteria()
Returns the branch criteria.
|
SCMSourceCriteria |
SCMSourceOwner.getSCMSourceCriteria(SCMSource source)
Returns the criteria for determining if a candidate head is relevant for consumption.
|
| Modifier and Type | Method and Description |
|---|---|
<O extends SCMHeadObserver> |
SCMSource.fetch(SCMSourceCriteria criteria,
O observer,
SCMHeadEvent<?> event,
TaskListener listener)
Fetches the latest heads and corresponding revisions scoped against a specific event.
|
<O extends SCMHeadObserver> |
SCMSource.fetch(SCMSourceCriteria criteria,
O observer,
TaskListener listener)
Fetches the latest heads and corresponding revisions.
|
protected abstract void |
SCMSource.retrieve(SCMSourceCriteria criteria,
SCMHeadObserver observer,
SCMHeadEvent<?> event,
TaskListener listener)
SPI: Fetches the latest heads and corresponding revisions that are originating from the supplied event.
|
protected void |
SCMSource.retrieve(SCMSourceCriteria criteria,
SCMHeadObserver observer,
TaskListener listener)
Deprecated.
|
protected Set<SCMHead> |
SCMSource.retrieve(SCMSourceCriteria criteria,
TaskListener listener)
SPI: Fetches the current list of heads.
|
| Modifier and Type | Method and Description |
|---|---|
List<SCMSourceCriteria> |
SCMSourceContext.criteria()
Returns the (possibly empty) list of criteria that must be met by a candidate
SCMHead. |
List<SCMSourceCriteria> |
SCMSourceRequest.getCriteria()
Returns the
SCMSourceCriteria being used for this request. |
| Modifier and Type | Method and Description |
|---|---|
C |
SCMSourceContext.withCriteria(SCMSourceCriteria criteria)
Adds an additional
SCMSourceCriteria. |
| Constructor and Description |
|---|
SCMSourceContext(SCMSourceCriteria criteria,
SCMHeadObserver observer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
NullSCMSource.retrieve(SCMSourceCriteria criteria,
SCMHeadObserver observer,
SCMHeadEvent<?> event,
TaskListener listener)
SPI: Fetches the latest heads and corresponding revisions that are originating from the supplied event.
|
protected void |
SingleSCMSource.retrieve(SCMSourceCriteria criteria,
SCMHeadObserver observer,
SCMHeadEvent<?> event,
TaskListener listener) |
Copyright © 2016–2019. All rights reserved.