org.apache.continuum.dao
Interface BuildResultDao
- All Known Implementing Classes:
- BuildResultDaoImpl
public interface BuildResultDao
- Version:
- $Id: BuildResultDao.java 1372260 2012-08-13 04:29:09Z brett $
- Author:
- Emmanuel Venisse
Method Summary |
void |
addBuildResult(Project project,
BuildResult build)
|
List<BuildResult> |
getAllBuildsForAProjectByDate(int projectId)
|
BuildResult |
getBuildResult(int buildId)
|
List<BuildResult> |
getBuildResultByBuildNumber(int projectId,
int buildNumber)
|
List<BuildResult> |
getBuildResultsByBuildDefinition(int projectId,
int buildDefinitionId)
|
List<BuildResult> |
getBuildResultsByBuildDefinition(int projectId,
int buildDefinitionId,
long startIndex,
long endIndex)
|
List<BuildResult> |
getBuildResultsForProject(int projectId)
|
List<BuildResult> |
getBuildResultsForProject(int projectId,
long startIndex,
long endIndex)
|
List<BuildResult> |
getBuildResultsForProjectFromId(int projectId,
long startId)
|
List<BuildResult> |
getBuildResultsForProjectWithDetails(int projectId,
long fromDate,
int tobuildResultId)
Returns the list of build results between the fromdate and the buildResult defined by its toBuildResultId |
List<BuildResult> |
getBuildResultsInRange(Date fromDate,
Date toDate,
int state,
String triggeredBy,
int projectGroupId)
|
Map<Integer,BuildResult> |
getBuildResultsInSuccessByProjectGroupId(int projectGroupId)
|
BuildResult |
getLatestBuildResultForBuildDefinition(int projectId,
int buildDefinitionId)
|
BuildResult |
getLatestBuildResultForProject(int projectId)
|
BuildResult |
getLatestBuildResultForProjectWithDetails(int projectId)
|
BuildResult |
getLatestBuildResultInSuccess(int projectId)
|
Map<Integer,BuildResult> |
getLatestBuildResultsByProjectGroupId(int projectGroupId)
|
long |
getNbBuildResultsForProject(int projectId)
|
long |
getNbBuildResultsInSuccessForProject(int projectId,
long fromDate)
Returns the number of build results in success since fromDate |
BuildResult |
getPreviousBuildResultInSuccess(int projectId,
int buildResultId)
|
void |
removeBuildResult(BuildResult buildResult)
|
void |
updateBuildResult(BuildResult build)
|
getBuildResult
BuildResult getBuildResult(int buildId)
throws ContinuumStoreException
- Throws:
ContinuumStoreException
addBuildResult
void addBuildResult(Project project,
BuildResult build)
throws ContinuumStoreException
- Throws:
ContinuumStoreException
updateBuildResult
void updateBuildResult(BuildResult build)
throws ContinuumStoreException
- Throws:
ContinuumStoreException
removeBuildResult
void removeBuildResult(BuildResult buildResult)
getLatestBuildResultForProject
BuildResult getLatestBuildResultForProject(int projectId)
getLatestBuildResultForProjectWithDetails
BuildResult getLatestBuildResultForProjectWithDetails(int projectId)
getLatestBuildResultForBuildDefinition
BuildResult getLatestBuildResultForBuildDefinition(int projectId,
int buildDefinitionId)
getLatestBuildResultInSuccess
BuildResult getLatestBuildResultInSuccess(int projectId)
getPreviousBuildResultInSuccess
BuildResult getPreviousBuildResultInSuccess(int projectId,
int buildResultId)
throws ContinuumStoreException
- Throws:
ContinuumStoreException
getNbBuildResultsForProject
long getNbBuildResultsForProject(int projectId)
getBuildResultsForProjectWithDetails
List<BuildResult> getBuildResultsForProjectWithDetails(int projectId,
long fromDate,
int tobuildResultId)
- Returns the list of build results between the fromdate and the buildResult defined by its toBuildResultId
- Parameters:
projectId
- The project idfromDate
- the from datetobuildResultId
- the build result id
- Returns:
- the list of build results
getNbBuildResultsInSuccessForProject
long getNbBuildResultsInSuccessForProject(int projectId,
long fromDate)
- Returns the number of build results in success since fromDate
- Parameters:
projectId
- The project idfromDate
- The from date
- Returns:
- the number of build results
getBuildResultsForProject
List<BuildResult> getBuildResultsForProject(int projectId)
getBuildResultsForProject
List<BuildResult> getBuildResultsForProject(int projectId,
long startIndex,
long endIndex)
getBuildResultsForProjectFromId
List<BuildResult> getBuildResultsForProjectFromId(int projectId,
long startId)
throws ContinuumStoreException
- Parameters:
projectId
- startId
-
- Returns:
- the returned list will contains all BuildResult for this project after the startId
- Throws:
ContinuumStoreException
- Since:
- 1.2
getLatestBuildResultsByProjectGroupId
Map<Integer,BuildResult> getLatestBuildResultsByProjectGroupId(int projectGroupId)
getBuildResultsInSuccessByProjectGroupId
Map<Integer,BuildResult> getBuildResultsInSuccessByProjectGroupId(int projectGroupId)
getBuildResultByBuildNumber
List<BuildResult> getBuildResultByBuildNumber(int projectId,
int buildNumber)
getBuildResultsByBuildDefinition
List<BuildResult> getBuildResultsByBuildDefinition(int projectId,
int buildDefinitionId)
getBuildResultsByBuildDefinition
List<BuildResult> getBuildResultsByBuildDefinition(int projectId,
int buildDefinitionId,
long startIndex,
long endIndex)
getAllBuildsForAProjectByDate
List<BuildResult> getAllBuildsForAProjectByDate(int projectId)
getBuildResultsInRange
List<BuildResult> getBuildResultsInRange(Date fromDate,
Date toDate,
int state,
String triggeredBy,
int projectGroupId)
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.