Class AuditLogConfiguration
java.lang.Object
com.atlassian.crowd.manager.audit.AuditLogConfiguration
Represents configuration for the audit log
-
Constructor Summary
ConstructorDescriptionAuditLogConfiguration
(RetentionPeriod retentionPeriod) Creates a configuration instance -
Method Summary
Modifier and TypeMethodDescriptionstatic AuditLogConfiguration
Creates a new default configuration instance with the default retention periodboolean
Returns period specifying what is maximum audit log entry length of life Returns an empty optional when retention is unlimitedint
hashCode()
-
Constructor Details
-
AuditLogConfiguration
Creates a configuration instance- Parameters:
retentionPeriod
- period after which audit log entries will be removed
-
-
Method Details
-
defaultConfiguration
Creates a new default configuration instance with the default retention period- Returns:
- new default configuration instance
-
getRetentionPeriod
Returns period specifying what is maximum audit log entry length of life Returns an empty optional when retention is unlimited- Returns:
- retention period
-
equals
-
hashCode
public int hashCode()
-