org.jenkins.plugins.audit2db.data
Interface AuditReportsRepository


public interface AuditReportsRepository

Author:
Marco Scata

Method Summary
 List<BuildDetails> getBuildDetails(String masterHostName, Date fromDate, Date toDate)
          Retrieves the build details for all job instances that ran on the specified Jenkins master or all the slaves registered with that master, between two dates for al projects.
 List<BuildDetails> getBuildDetails(String masterHostName, String projectName, Date fromDate, Date toDate)
          Retrieves the build details for all job instances that ran on the specified Jenkins master or all the slaves registered with that master, between two dates and for a specific project.
 List<String> getProjectNames(String masterHostName, Date fromDate, Date toDate)
          Retrieves a list of all the projects registered with the specified Jenkins master that have had job instances executed between the specified dates.
 

Method Detail

getProjectNames

List<String> getProjectNames(String masterHostName,
                             Date fromDate,
                             Date toDate)
Retrieves a list of all the projects registered with the specified Jenkins master that have had job instances executed between the specified dates.

Parameters:
masterHostName - the host name of the Jenkins master.
fromDate - the start (inclusive) of the date range.
toDate - the end (inclusive) of the date range.
Returns:
a list of project names, never null.

getBuildDetails

List<BuildDetails> getBuildDetails(String masterHostName,
                                   Date fromDate,
                                   Date toDate)
Retrieves the build details for all job instances that ran on the specified Jenkins master or all the slaves registered with that master, between two dates for al projects.

Parameters:
masterHostName - the host name of the Jenkins master.
fromDate - the start (inclusive) of the date range.
toDate - the end (inclusive) of the date range.
Returns:
a list of build details matching the specified criteria. Never null.

getBuildDetails

List<BuildDetails> getBuildDetails(String masterHostName,
                                   String projectName,
                                   Date fromDate,
                                   Date toDate)
Retrieves the build details for all job instances that ran on the specified Jenkins master or all the slaves registered with that master, between two dates and for a specific project.

Parameters:
masterHostName - the host name of the Jenkins master.
projectName - the name of the project that was executed.
fromDate - the start (inclusive) of the date range.
toDate - the end (inclusive) of the date range.
Returns:
a list of build details matching the specified criteria. Never null.


Copyright © 2004-2013. All Rights Reserved.