| Package | Description |
|---|---|
| jenkins.scm.api | |
| jenkins.scm.impl |
| Modifier and Type | Method and Description |
|---|---|
SCMRevision |
SCMSource.fetch(SCMHead head,
hudson.model.TaskListener listener)
Gets the current head revision of the specified head.
|
SCMRevision |
SCMRevisionAction.getRevision()
Gets the
SCMRevision. |
SCMRevision |
SCMFileSystem.getRevision()
If this inspector is looking at the specific commit,
returns that revision.
|
static SCMRevision |
SCMRevisionAction.getRevision(hudson.model.Actionable actionable)
Gets the
SCMRevision from the specified Actionable. |
SCMRevision |
SCMHeadObserver.Selector.result()
Returns the result.
|
protected SCMRevision |
SCMSource.retrieve(SCMHead head,
hudson.model.TaskListener listener)
Gets the current head revision of the specified head.
|
| Modifier and Type | Method and Description |
|---|---|
Map<SCMHead,SCMRevision> |
SCMHeadObserver.Collector.result()
Returns the collected results.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
abstract SCMFileSystem |
SCMFileSystem.Builder.build(hudson.scm.SCM scm,
SCMRevision rev)
Given a
SCM this should try to build a corresponding SCMFileSystem instance that
reflects the content at the specified SCMRevision. |
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. |
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(hudson.scm.SCM scm,
SCMRevision rev)
Given a
SCM this method will try to retrieve a corresponding SCMFileSystem instance that
reflects the content at the specified SCMRevision. |
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. |
| Constructor and Description |
|---|
SCMFileSystem(SCMRevision rev) |
SCMRevisionAction(SCMRevision rev)
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.