Class AuditLogConfiguration

java.lang.Object
com.atlassian.crowd.manager.audit.AuditLogConfiguration

public class AuditLogConfiguration extends Object
Represents configuration for the audit log
  • Constructor Details

    • AuditLogConfiguration

      public AuditLogConfiguration(RetentionPeriod retentionPeriod)
      Creates a configuration instance
      Parameters:
      retentionPeriod - period after which audit log entries will be removed
  • Method Details

    • defaultConfiguration

      public static AuditLogConfiguration defaultConfiguration()
      Creates a new default configuration instance with the default retention period
      Returns:
      new default configuration instance
    • getRetentionPeriod

      public RetentionPeriod 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object