|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BuildDetailsRepository
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<BuildDetails> |
getBuildDetailsByDateRange(Date start,
Date end)
Retrieves previously saved build details whose start date or end date fall between the given range. |
List<BuildDetails> |
getBuildDetailsByDurationRange(long min,
long max)
Retrieves previously saved build details whose duration in seconds falls between the given range. |
List<BuildDetails> |
getBuildDetailsByFullName(String fullName)
Retrieves previously saved build details that match the given full name. |
BuildDetails |
getBuildDetailsById(String id)
Retrieves previously saved build details that match the given id. |
List<BuildDetails> |
getBuildDetailsByName(String name)
Retrieves previously saved build details that match the given name. |
List<BuildDetails> |
getBuildDetailsByParams(String masterHostName,
String paramName,
String paramValue,
Date fromDate,
Date toDate)
Retrieves previously saved build details that were executed using the given parameter values. |
List<BuildDetails> |
getBuildDetailsByUserId(String userId)
Retrieves previously saved build details that match the given user id. |
List<BuildDetails> |
getBuildDetailsByUserName(String userName)
Retrieves previously saved build details that match the given user name. |
BuildDetails |
getBuildDetailsForBuild(hudson.model.AbstractBuild<?,?> build)
Retrieves the build details for the given Jenkins build. |
BuildNode |
getBuildNodeByUrl(String url)
Retrieves the build node that matches the given url. |
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. |
List<String> |
getProjectNames(String masterHostName,
String pattern,
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. |
Object |
saveBuildDetails(BuildDetails details)
Creates a new entity in the repository with the given build details. |
void |
saveBuildDetailsList(List<BuildDetails> details)
Creates new entities in the repository according to the given list of build details. |
void |
updateBuildDetails(BuildDetails details)
Updates a previously saved build using the given build details. |
Method Detail |
---|
Object saveBuildDetails(BuildDetails details)
details
- the details to save.
void saveBuildDetailsList(List<BuildDetails> details)
details
- the collection of details to save.BuildDetails getBuildDetailsById(String id)
id
- the build details id.
null
.List<BuildDetails> getBuildDetailsByName(String name)
name
- the build name
List<BuildDetails> getBuildDetailsByFullName(String fullName)
fullName
-
List<BuildDetails> getBuildDetailsByDateRange(Date start, Date end)
start
- the start date.end
- the end date.
List<BuildDetails> getBuildDetailsByDurationRange(long min, long max)
min
- the minimum duration in seconds.max
- the maximum duration in seconds.
List<BuildDetails> getBuildDetailsByUserId(String userId)
userId
- the user id to match.
List<BuildDetails> getBuildDetailsByUserName(String userName)
userName
- the user name to match.
List<BuildDetails> getBuildDetailsByParams(String masterHostName, String paramName, String paramValue, Date fromDate, Date toDate)
masterHostName
- the host name of the Jenkins master.paramName
- the parameter name.paramValue
- the parameter value.fromDate
- the start (inclusive) of the date range.toDate
- the end (inclusive) of the date range.
null
.void updateBuildDetails(BuildDetails details)
details
- the updated build details.BuildNode getBuildNodeByUrl(String url)
url
- the node url (unique).
null
.BuildDetails getBuildDetailsForBuild(hudson.model.AbstractBuild<?,?> build)
build
- a reference to the Jenkins build.
null
.List<String> getProjectNames(String masterHostName, Date fromDate, Date toDate)
masterHostName
- the host name of the Jenkins master.fromDate
- the start (inclusive) of the date range.toDate
- the end (inclusive) of the date range.
null
.List<String> getProjectNames(String masterHostName, String pattern, Date fromDate, Date toDate)
masterHostName
- the host name of the Jenkins master.pattern
- the pattern used to match project names.fromDate
- the start (inclusive) of the date range.toDate
- the end (inclusive) of the date range.
null
.List<BuildDetails> getBuildDetails(String masterHostName, Date fromDate, Date toDate)
masterHostName
- the host name of the Jenkins master.fromDate
- the start (inclusive) of the date range.toDate
- the end (inclusive) of the date range.
null
.List<BuildDetails> getBuildDetails(String masterHostName, String projectName, Date fromDate, Date toDate)
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.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |