public class AuditLogResource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AUDIT_LOG_ENABLED |
static String |
RELATIVE_URL |
Constructor and Description |
---|
AuditLogResource(AuditLogConversionFunction function,
AuditLogService auditLogService) |
Modifier and Type | Method and Description |
---|---|
RestAuditLogConfiguration |
getAuditLogConfiguration(Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Retrieve audit log settings
|
RestAuditLogConfiguration |
updateAuditLogConfiguration(RestAuditLogConfiguration restAuditLogConfiguration,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Enable/disable audit log
|
public static final String AUDIT_LOG_ENABLED
public static final String RELATIVE_URL
public AuditLogResource(AuditLogConversionFunction function, AuditLogService auditLogService)
public RestAuditLogConfiguration getAuditLogConfiguration(@NotNull @Context Expansion expansion, @NotNull @Context javax.ws.rs.core.UriInfo uriInfo)
RestAuditLogConfiguration
public RestAuditLogConfiguration updateAuditLogConfiguration(@NotNull RestAuditLogConfiguration restAuditLogConfiguration, @NotNull @Context Expansion expansion, @NotNull @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
restAuditLogConfiguration
- WebValidationException
- if receives invalid parameter, maps to 400 return codeCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.