hudson.plugins.git.util
Interface IBuildChooser

All Known Implementing Classes:
BuildChooser

public interface IBuildChooser

Interface defining an API to choose which revisions ought to be considered for building.

Author:
magnayn

Method Summary
 java.util.Collection<Revision> getCandidateRevisions()
          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

getCandidateRevisions

java.util.Collection<Revision> getCandidateRevisions()
                                                     throws GitException,
                                                            java.io.IOException
Get a list of revisions that are candidates to be built. May be an empty set.

Returns:
Throws:
java.io.IOException
GitException

revisionBuilt

Build revisionBuilt(Revision revision,
                    int buildNumber,
                    hudson.model.Result result)
Report back whether a revision built was successful or not.

Parameters:
revision -
success -

getData

hudson.model.Action getData()
Get data to be persisted.

Returns:


Copyright © 2009. All Rights Reserved.