Interface ResultService
- All Known Implementing Classes:
ResultServiceImpl
public interface ResultService
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBuildComment
(String projectKey, String buildKey, String buildNumber, CreateCommentRequest comment, RestAuthenticationContext restAuthenticationContext, javax.ws.rs.core.UriInfo uriInfo) void
addBuildLabel
(String projectKey, String buildKey, String buildNumber, RestBuildLabel label, RestAuthenticationContext restAuthenticationContext, javax.ws.rs.core.UriInfo uriInfo) getBranchHistoryList
(String projectKey, String buildKey, String branchName, javax.ws.rs.core.UriInfo uriInfo, RestAuthenticationContext restAuthenticationContext) Does not return Specs-related resultsgetBuildComments
(String projectKey, String buildKey, String buildNumber, javax.ws.rs.core.UriInfo uriInfo) getBuildHistoryList
(String projectKey, String buildKey, javax.ws.rs.core.UriInfo uriInfo, RestAuthenticationContext restAuthenticationContext) Does not return Specs-related resultsgetBuildLabels
(String projectKey, String buildKey, String buildNumber, javax.ws.rs.core.UriInfo uriInfo) getBuildResult
(String projectKey, String buildKey, String buildNumber, javax.ws.rs.core.UriInfo uriInfo, RestAuthenticationContext restAuthenticationContext) Get the build result for the given parameters.getBuildResultsForChangeSetId
(String changeSetId, javax.ws.rs.core.UriInfo uriInfo, RestAuthenticationContext restAuthenticationContext) getBuildResultsForCheckoutChangeSetId
(String changeSetId, javax.ws.rs.core.UriInfo uriInfo, RestAuthenticationContext restAuthenticationContext) getLatestBuildResults
(javax.ws.rs.core.UriInfo uriInfo, RestAuthenticationContext restAuthenticationContext) Does not return Specs-related resultsgetLatestBuildResultsForProject
(String projectKey, javax.ws.rs.core.UriInfo uriInfo, RestAuthenticationContext restAuthenticationContext) Does not return Specs-related resultsgetResultStatus
(String projectKey, String buildKey, String buildNumber, javax.ws.rs.core.UriInfo uriInfo, RestAuthenticationContext restAuthenticationContext) void
removeBuildComment
(String projectKey, String buildKey, String buildNumber, long commentId, RestAuthenticationContext restAuthenticationContext, javax.ws.rs.core.UriInfo uriInfo) void
removeBuildLabel
(String projectKey, String buildKey, String buildNumber, String labelName, RestAuthenticationContext restAuthenticationContext, javax.ws.rs.core.UriInfo uriInfo)
-
Method Details
-
getLatestBuildResults
RestResults getLatestBuildResults(javax.ws.rs.core.UriInfo uriInfo, RestAuthenticationContext restAuthenticationContext) Does not return Specs-related results -
getLatestBuildResultsForProject
RestResults getLatestBuildResultsForProject(String projectKey, javax.ws.rs.core.UriInfo uriInfo, RestAuthenticationContext restAuthenticationContext) Does not return Specs-related results -
getBuildResultsForChangeSetId
RestResults getBuildResultsForChangeSetId(String changeSetId, javax.ws.rs.core.UriInfo uriInfo, RestAuthenticationContext restAuthenticationContext) -
getBuildResultsForCheckoutChangeSetId
RestResults getBuildResultsForCheckoutChangeSetId(String changeSetId, javax.ws.rs.core.UriInfo uriInfo, RestAuthenticationContext restAuthenticationContext) -
getBuildHistoryList
RestResults getBuildHistoryList(String projectKey, String buildKey, javax.ws.rs.core.UriInfo uriInfo, RestAuthenticationContext restAuthenticationContext) Does not return Specs-related results -
getBranchHistoryList
RestResults getBranchHistoryList(String projectKey, String buildKey, String branchName, javax.ws.rs.core.UriInfo uriInfo, RestAuthenticationContext restAuthenticationContext) Does not return Specs-related results -
getBuildResult
Result getBuildResult(String projectKey, String buildKey, String buildNumber, javax.ws.rs.core.UriInfo uriInfo, RestAuthenticationContext restAuthenticationContext) Get the build result for the given parameters.- Parameters:
buildNumber
- the build number or "latest" for the non Specs-related build with the highest number.
-
getBuildComments
RestComments getBuildComments(String projectKey, String buildKey, String buildNumber, javax.ws.rs.core.UriInfo uriInfo) -
addBuildComment
void addBuildComment(String projectKey, String buildKey, String buildNumber, CreateCommentRequest comment, RestAuthenticationContext restAuthenticationContext, javax.ws.rs.core.UriInfo uriInfo) -
removeBuildComment
void removeBuildComment(String projectKey, String buildKey, String buildNumber, long commentId, RestAuthenticationContext restAuthenticationContext, javax.ws.rs.core.UriInfo uriInfo) -
getBuildLabels
RestBuildLabels getBuildLabels(String projectKey, String buildKey, String buildNumber, javax.ws.rs.core.UriInfo uriInfo) -
addBuildLabel
void addBuildLabel(String projectKey, String buildKey, String buildNumber, RestBuildLabel label, RestAuthenticationContext restAuthenticationContext, javax.ws.rs.core.UriInfo uriInfo) -
removeBuildLabel
void removeBuildLabel(String projectKey, String buildKey, String buildNumber, String labelName, RestAuthenticationContext restAuthenticationContext, javax.ws.rs.core.UriInfo uriInfo) throws Exception - Throws:
Exception
-
getResultStatus
RestResultStatus getResultStatus(String projectKey, String buildKey, String buildNumber, javax.ws.rs.core.UriInfo uriInfo, RestAuthenticationContext restAuthenticationContext)
-