|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.git.util.BuildChooser
public abstract class BuildChooser
Interface defining an API to choose which revisions ought to be considered for building.
This object is persisted as a part of the project configuration.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary | |
|---|---|
GitSCM |
gitSCM
Refers back to the GitSCM that owns this build chooser. |
| Constructor Summary | |
|---|---|
BuildChooser()
|
|
| Method Summary | |
|---|---|
static hudson.DescriptorExtensionList<BuildChooser,BuildChooserDescriptor> |
all()
All the registered build choosers. |
abstract java.util.Collection<Revision> |
getCandidateRevisions(boolean isPollCall,
java.lang.String singleBranch,
IGitAPI git,
hudson.model.TaskListener listener,
BuildData buildData)
Get a list of revisions that are candidates to be built. |
BuildChooserDescriptor |
getDescriptor()
What was the last revision to be built? |
java.lang.String |
getDisplayName()
Short-hand to get to the display name. |
Build |
prevBuildForChangelog(java.lang.String singleBranch,
BuildData data,
IGitAPI git)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public transient GitSCM gitSCM
GitSCM that owns this build chooser.
Do not modify from outside GitSCM.
| Constructor Detail |
|---|
public BuildChooser()
| Method Detail |
|---|
public final java.lang.String getDisplayName()
public abstract java.util.Collection<Revision> getCandidateRevisions(boolean isPollCall,
java.lang.String singleBranch,
IGitAPI git,
hudson.model.TaskListener listener,
BuildData buildData)
throws GitException,
java.io.IOException
isPollCall - true if this method is called from pollChanges.singleBranch - contains the name of a single branch to be built
this will be non-null only in the simple case, in advanced
cases with multiple repositories and/or branches specified
then this value will be null.
java.io.IOException
GitExceptionpublic BuildChooserDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<BuildChooser>public static hudson.DescriptorExtensionList<BuildChooser,BuildChooserDescriptor> all()
public Build prevBuildForChangelog(java.lang.String singleBranch,
BuildData data,
IGitAPI git)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||