Interface ResultService

    • Method Detail

      • getLatestBuildResults

        RestResults getLatestBuildResults​(javax.ws.rs.core.UriInfo uriInfo,
                                          com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
        Does not return Specs-related results
      • getLatestBuildResultsForProject

        RestResults getLatestBuildResultsForProject​(String projectKey,
                                                    javax.ws.rs.core.UriInfo uriInfo,
                                                    com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
        Does not return Specs-related results
      • getBuildResultsForChangeSetId

        RestResults getBuildResultsForChangeSetId​(String changeSetId,
                                                  javax.ws.rs.core.UriInfo uriInfo,
                                                  com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
      • getBuildResultsForCheckoutChangeSetId

        RestResults getBuildResultsForCheckoutChangeSetId​(String changeSetId,
                                                          javax.ws.rs.core.UriInfo uriInfo,
                                                          com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
      • getBuildHistoryList

        RestResults getBuildHistoryList​(String projectKey,
                                        String buildKey,
                                        javax.ws.rs.core.UriInfo uriInfo,
                                        com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
        Does not return Specs-related results
      • getBranchHistoryList

        RestResults getBranchHistoryList​(String projectKey,
                                         String buildKey,
                                         String branchName,
                                         javax.ws.rs.core.UriInfo uriInfo,
                                         com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
        Does not return Specs-related results
      • getBuildResult

        Result getBuildResult​(String projectKey,
                              String buildKey,
                              String buildNumber,
                              javax.ws.rs.core.UriInfo uriInfo,
                              com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
        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.
      • addBuildComment

        void addBuildComment​(String projectKey,
                             String buildKey,
                             String buildNumber,
                             CreateCommentRequest comment,
                             com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext,
                             javax.ws.rs.core.UriInfo uriInfo)
      • removeBuildComment

        void removeBuildComment​(String projectKey,
                                String buildKey,
                                String buildNumber,
                                long commentId,
                                com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext,
                                javax.ws.rs.core.UriInfo uriInfo)
      • addBuildLabel

        void addBuildLabel​(String projectKey,
                           String buildKey,
                           String buildNumber,
                           RestBuildLabel label,
                           com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext,
                           javax.ws.rs.core.UriInfo uriInfo)
      • removeBuildLabel

        void removeBuildLabel​(String projectKey,
                              String buildKey,
                              String buildNumber,
                              String labelName,
                              com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext,
                              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,
                                         com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)