public abstract class BuildChooser extends Object implements hudson.ExtensionPoint, hudson.model.Describable<BuildChooser>, Serializable
| Modifier and Type | Field and Description |
|---|---|
GitSCM |
gitSCM
Refers back to the
GitSCM that owns this build chooser. |
| Constructor and Description |
|---|
BuildChooser() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.DescriptorExtensionList<BuildChooser,BuildChooserDescriptor> |
all()
All the registered build choosers.
|
boolean |
equals(Object o) |
abstract Collection<Revision> |
getCandidateRevisions(boolean isPollCall,
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?
|
String |
getDisplayName()
Short-hand to get to the display name.
|
int |
hashCode() |
Build |
prevBuildForChangelog(String singleBranch,
BuildData data,
IGitAPI git) |
public transient GitSCM gitSCM
public final String getDisplayName()
public abstract Collection<Revision> getCandidateRevisions(boolean isPollCall, String singleBranch, IGitAPI git, hudson.model.TaskListener listener, BuildData buildData) throws GitException, 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.IOExceptionGitExceptionpublic BuildChooserDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<BuildChooser>public static hudson.DescriptorExtensionList<BuildChooser,BuildChooserDescriptor> all()
public Build prevBuildForChangelog(String singleBranch, BuildData data, IGitAPI git)
Copyright © 2004-2015 Hudson. All Rights Reserved.