Class AuditLogResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.admin.auditlog.AuditLogResource
@Path("/config/auditLog")
@Consumes("application/json")
@Produces("application/json")
public class AuditLogResource
extends Object
REST endpoint for the audit log configuration.
- Since:
- 5.9
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAuditLogResource
(AuditLogConversionFunction function, AuditLogService auditLogService) -
Method Summary
Modifier and TypeMethodDescriptiongetAuditLogConfiguration
(@NotNull ExpansionParam expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo) updateAuditLogConfiguration
(@NotNull RestAuditLogConfiguration restAuditLogConfiguration, @NotNull ExpansionParam expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo)
-
Field Details
-
AUDIT_LOG_ENABLED
- See Also:
-
RELATIVE_URL
- See Also:
-
-
Constructor Details
-
AuditLogResource
@Inject public AuditLogResource(AuditLogConversionFunction function, AuditLogService auditLogService)
-
-
Method Details
-
getAuditLogConfiguration
@GET public RestAuditLogConfiguration getAuditLogConfiguration(@NotNull @BeanParam @NotNull ExpansionParam expansion, @NotNull @Context @NotNull javax.ws.rs.core.UriInfo uriInfo) -
updateAuditLogConfiguration
@PUT public RestAuditLogConfiguration updateAuditLogConfiguration(@NotNull @NotNull RestAuditLogConfiguration restAuditLogConfiguration, @NotNull @BeanParam @NotNull ExpansionParam expansion, @NotNull @Context @NotNull javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException - Throws:
WebValidationException
-