Class ResultResource
java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.plan.ResultResource
@Path("result")
@Consumes("application/json")
@Produces("application/json")
@Singleton
public class ResultResource
extends Object
-
Constructor Summary
ConstructorDescriptionResultResource
(CachedPlanManager cachedPlanManager, ResultsSummaryManager resultsSummaryManager, BuildResultWarningSummaryManager warningSummaryManager) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
createBuildResultWarningSummary
(String resultKey, @NotNull BuildResultWarningRest warningRest) javax.ws.rs.core.Response
removeBuildResult
(String resultKey)
-
Constructor Details
-
ResultResource
@Inject public ResultResource(CachedPlanManager cachedPlanManager, ResultsSummaryManager resultsSummaryManager, BuildResultWarningSummaryManager warningSummaryManager)
-
-
Method Details
-
removeBuildResult
@DELETE @Path("{planResultKey}") public javax.ws.rs.core.Response removeBuildResult(@PathParam("planResultKey") String resultKey) -
createBuildResultWarningSummary
@POST @Path("{planResultKey}/warning") public javax.ws.rs.core.Response createBuildResultWarningSummary(@PathParam("planResultKey") String resultKey, @NotNull @NotNull BuildResultWarningRest warningRest)
-