Class AuditLogChangesetPopulatorImpl

java.lang.Object
com.atlassian.crowd.manager.audit.AuditLogChangesetPopulatorImpl
All Implemented Interfaces:
AuditLogChangesetPopulator

public class AuditLogChangesetPopulatorImpl extends Object implements AuditLogChangesetPopulator
  • Constructor Details

    • AuditLogChangesetPopulatorImpl

      public AuditLogChangesetPopulatorImpl(Clock clock)
  • Method Details

    • populateCommonChangesetProperties

      public AuditLogChangeset populateCommonChangesetProperties(AuditLogChangeset changeset, boolean forceAdjustTimestamp)
      Description copied from interface: AuditLogChangesetPopulator
      Populates the author, timestamp and IP address in the audit log changeset. The author will be populated if the author id is empty. The timestamp will be adjusted if empty or if the force adjust flag is set to true.
      Specified by:
      populateCommonChangesetProperties in interface AuditLogChangesetPopulator
      Parameters:
      changeset - the changeset to populate
      forceAdjustTimestamp - if set to true, the timestamp will be adjusted even if it's currently populated
      Returns:
      the adjusted changeset
    • setAuditLogMetadataResolver

      public void setAuditLogMetadataResolver(AuditLogMetadataResolver auditLogMetadataResolver)