|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBuildChooser
Interface defining an API to choose which revisions ought to be considered for building.
| Method Summary | |
|---|---|
java.util.Collection<Revision> |
getCandidateRevisions(boolean isPollCall,
java.lang.String singleBranch)
Get a list of revisions that are candidates to be built. |
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. |
| Method Detail |
|---|
java.util.Collection<Revision> getCandidateRevisions(boolean isPollCall,
java.lang.String singleBranch)
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
GitException
Build revisionBuilt(Revision revision,
int buildNumber,
hudson.model.Result result)
revision - success - hudson.model.Action getData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||