Class BrokenBuildResource
java.lang.Object
com.atlassian.bamboo.brokenbuildtracker.rest.BrokenBuildResource
@Path("brokenBuild")
@Consumes("application/json")
@Produces("application/json")
public class BrokenBuildResource
extends Object
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBrokenBuildResource
(TrackingEntryManager trackingEntryManager, BambooPermissionManager bambooPermissionManager, ResultsSummaryManager resultsSummaryManager, CachedPlanManager cachedPlanManager, com.atlassian.event.api.EventPublisher eventPublisher, BambooUserManager bambooUserManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, PaginatedDataCollector paginatedDataCollector, LinkService linkService) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
addResponsible
(String planResultKeyOrPlanKey, String userName) getBrokenBuildsForUser
(String username, PageRequest pageRequest, javax.ws.rs.core.UriInfo uriInfo, boolean showAllResponsible) getMyBrokenBuilds
(PageRequest pageRequest, javax.ws.rs.core.UriInfo uriInfo) getResponsibleForPlanResult
(String planResultKeyOrPlanKey) javax.ws.rs.core.Response
removeResponsible
(String planResultKeyOrPlanKey, String username)
-
Field Details
-
BROKEN_BUILD
- See Also:
-
SHOW_ALL_RESPONSIBLE
- See Also:
-
PLAN_RESULT_KEY_OR_PLAN_KEY
- See Also:
-
BY_USER
- See Also:
-
MY_BROKEN_BUILDS
- See Also:
-
-
Constructor Details
-
BrokenBuildResource
@Inject public BrokenBuildResource(TrackingEntryManager trackingEntryManager, BambooPermissionManager bambooPermissionManager, ResultsSummaryManager resultsSummaryManager, CachedPlanManager cachedPlanManager, com.atlassian.event.api.EventPublisher eventPublisher, BambooUserManager bambooUserManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, PaginatedDataCollector paginatedDataCollector, LinkService linkService)
-
-
Method Details
-
addResponsible
@Path("{planResultKeyOrPlanKey}/{name : (.+)?}") @POST public javax.ws.rs.core.Response addResponsible(@PathParam("planResultKeyOrPlanKey") String planResultKeyOrPlanKey, @PathParam("name") String userName) throws WebValidationException, UserNotLoggedInException -
removeResponsible
@Path("{planResultKeyOrPlanKey}/{name : (.+)?}") @DELETE public javax.ws.rs.core.Response removeResponsible(@PathParam("planResultKeyOrPlanKey") String planResultKeyOrPlanKey, @PathParam("name") String username) throws WebValidationException, UserNotLoggedInException -
getBrokenBuildsForUser
@Path("byUser/{name : (.+)?}") @GET public RestPageModel<RestBrokenPlan> getBrokenBuildsForUser(@PathParam("name") String username, @BeanParam PageRequest pageRequest, @Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("showAllResponsible") boolean showAllResponsible) -
getMyBrokenBuilds
@Path("myBrokenBuilds") @GET public RestPageModel<RestBrokenPlan> getMyBrokenBuilds(@BeanParam PageRequest pageRequest, @Context javax.ws.rs.core.UriInfo uriInfo) -
getResponsibleForPlanResult
@Path("{planResultKeyOrPlanKey}") @GET public RestBrokenPlan getResponsibleForPlanResult(@PathParam("planResultKeyOrPlanKey") String planResultKeyOrPlanKey) throws WebValidationException - Throws:
WebValidationException
-