public static interface AuditService.Validator
Modifier and Type | Method and Description |
---|---|
ValidationResult |
validateCreate(AuditRecord record)
Validate that an audit record can be created.
|
ValidationResult |
validateDelete(Instant before)
Validate that the current user has permissions to remove old audit records and the provided time is not null
|
ValidationResult validateCreate(AuditRecord record) throws ServiceException
record
- the record to be createdServiceException
ValidationResult validateDelete(Instant before)
before
- Copyright © 2003–2019 Atlassian. All rights reserved.