| Package | Description |
|---|---|
| jenkins.scm.api | |
| jenkins.scm.impl |
| Modifier and Type | Method and Description |
|---|---|
SCMHead |
SCMRevision.getHead()
Returns the
SCMHead that this SCMRevision belongs to. |
| Modifier and Type | Method and Description |
|---|---|
Set<SCMHead> |
SCMSource.fetch(hudson.model.TaskListener listener)
Fetches the current list of heads.
|
Map<SCMHead,SCMRevision> |
SCMHeadObserver.Collector.result()
Returns the collected results.
|
protected Set<SCMHead> |
SCMSource.retrieve(hudson.model.TaskListener listener)
Fetches the current list of heads.
|
| Modifier and Type | Method and Description |
|---|---|
hudson.scm.SCM |
SCMSource.build(SCMHead head)
Builds a
SCM instance for the specified head. |
abstract hudson.scm.SCM |
SCMSource.build(SCMHead head,
SCMRevision revision)
Builds a
SCM instance for the specified head and revision, no validation of the
head is performed, a revision for a different head or source will be treated as equivalent to a
null revision. |
SCMFileSystem |
SCMFileSystem.Builder.build(SCMSource source,
SCMHead head,
SCMRevision rev)
Given a
SCMSource, a SCMHead and a SCMRevision this method should try to build a
corresponding SCMFileSystem instance that reflects the content of the specified SCMHead at
the specified SCMRevision. |
int |
SCMHead.compareTo(SCMHead o) |
SCMRevision |
SCMSource.fetch(SCMHead head,
hudson.model.TaskListener listener)
Gets the current head revision of the specified head.
|
abstract void |
SCMHeadObserver.observe(SCMHead head,
SCMRevision revision)
Observes a head and current revision.
|
void |
SCMHeadObserver.AllFinished.observe(SCMHead head,
SCMRevision revision)
Observes a head and current revision.
|
void |
SCMHeadObserver.OneFinished.observe(SCMHead head,
SCMRevision revision)
Observes a head and current revision.
|
void |
SCMHeadObserver.Collector.observe(SCMHead head,
SCMRevision revision)
Observes a head and current revision.
|
void |
SCMHeadObserver.Selector.observe(SCMHead head,
SCMRevision revision)
Observes a head and current revision.
|
static SCMFileSystem |
SCMFileSystem.of(SCMSource source,
SCMHead head)
Given a
SCMSource and a SCMHead this method will try to retrieve a corresponding
SCMFileSystem instance that reflects the content of the specified SCMHead. |
static SCMFileSystem |
SCMFileSystem.of(SCMSource source,
SCMHead head,
SCMRevision rev)
Given a
SCMSource, a SCMHead and a SCMRevision this method will try to retrieve a
corresponding SCMFileSystem instance that reflects the content of the specified SCMHead at the
specified SCMRevision. |
protected SCMRevision |
SCMSource.retrieve(SCMHead head,
hudson.model.TaskListener listener)
Gets the current head revision of the specified head.
|
static SCMHeadObserver.Selector |
SCMHeadObserver.select(SCMHead head)
Creates an observer that selects the revision of a specific head.
|
| Constructor and Description |
|---|
SCMHeadObserver.Selector(SCMHead head)
Constructor.
|
SCMRevision(SCMHead head)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
hudson.scm.SCM |
SingleSCMSource.build(SCMHead head,
SCMRevision revision)
Builds a
SCM instance for the specified head and revision, no validation of the
head is performed, a revision for a different head or source will be treated as equivalent to a
null revision. |
hudson.scm.SCM |
NullSCMSource.build(SCMHead head,
SCMRevision revision)
Builds a
SCM instance for the specified head and revision, no validation of the
head is performed, a revision for a different head or source will be treated as equivalent to a
null revision. |
Copyright © 2004-2013. All Rights Reserved.