Class QuarantineResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.admin.quarantine.QuarantineResource
@Path("config/quarantine")
@Consumes("application/json")
@Produces("application/json")
public class QuarantineResource
extends Object
REST resource to manage quarantine settings.
- Since:
- 5.10
-
Constructor Summary
ConstructorDescriptionQuarantineResource
(AdministrationConfigurationService administrationConfigurationService, QuarantineConfigConversionFunction function) -
Method Summary
Modifier and TypeMethodDescriptiongetQuarantineSettings
(@Nullable ExpansionParam expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo) updateQuarantineSettings
(@NotNull RestQuarantineConfig restQuarantineConfig, @Nullable ExpansionParam expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
QuarantineResource
@Inject public QuarantineResource(AdministrationConfigurationService administrationConfigurationService, QuarantineConfigConversionFunction function)
-
-
Method Details
-
getQuarantineSettings
@GET public RestQuarantineConfig getQuarantineSettings(@Nullable @BeanParam @Nullable ExpansionParam expansion, @NotNull @Context @NotNull javax.ws.rs.core.UriInfo uriInfo) -
updateQuarantineSettings
@PUT public RestQuarantineConfig updateQuarantineSettings(@NotNull @NotNull RestQuarantineConfig restQuarantineConfig, @Nullable @BeanParam @Nullable ExpansionParam expansion, @NotNull @Context @NotNull javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException, org.quartz.SchedulerException - Throws:
WebValidationException
org.quartz.SchedulerException
-