|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.git.util.BuildChooser
public class BuildChooser
| Constructor Summary | |
|---|---|
BuildChooser(GitSCM gitSCM,
IGitAPI git,
GitUtils utils,
BuildData data)
|
|
| Method Summary | |
|---|---|
java.util.Collection<Revision> |
getCandidateRevisions(boolean isPollCall,
java.lang.String singleBranch)
Determines which Revisions to build. |
hudson.model.Action |
getData()
Get data to be persisted. |
Build |
revisionBuilt(Revision revision,
int buildNumber,
hudson.model.Result result)
Report back whether a revision built was successful or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuildChooser(GitSCM gitSCM,
IGitAPI git,
GitUtils utils,
BuildData data)
| Method Detail |
|---|
public java.util.Collection<Revision> getCandidateRevisions(boolean isPollCall,
java.lang.String singleBranch)
throws GitException,
java.io.IOException
getCandidateRevisions in interface IBuildChooserisPollCall - 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
GitException
public Build revisionBuilt(Revision revision,
int buildNumber,
hudson.model.Result result)
IBuildChooser
revisionBuilt in interface IBuildChooserpublic hudson.model.Action getData()
IBuildChooser
getData in interface IBuildChooser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||