public class AuditLogConfiguration extends Object
Constructor and Description |
---|
AuditLogConfiguration(RetentionPeriod retentionPeriod)
Creates a configuration instance
|
Modifier and Type | Method and Description |
---|---|
static AuditLogConfiguration |
defaultConfiguration()
Creates a new default configuration instance with the default retention period
|
boolean |
equals(Object o) |
RetentionPeriod |
getRetentionPeriod()
Returns period specifying what is maximum audit log entry length of life
Returns an empty optional when retention is unlimited
|
int |
hashCode() |
public AuditLogConfiguration(RetentionPeriod retentionPeriod)
retentionPeriod
- period after which audit log entries will be removedpublic static AuditLogConfiguration defaultConfiguration()
public RetentionPeriod getRetentionPeriod()
Copyright © 2021 Atlassian. All rights reserved.