Class AuditLogChangesetPopulatorImpl
java.lang.Object
com.atlassian.crowd.manager.audit.AuditLogChangesetPopulatorImpl
- All Implemented Interfaces:
AuditLogChangesetPopulator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpopulateCommonChangesetProperties
(AuditLogChangeset changeset, boolean forceAdjustTimestamp) Populates the author, timestamp and IP address in the audit log changeset.void
setAuditLogMetadataResolver
(AuditLogMetadataResolver auditLogMetadataResolver)
-
Constructor Details
-
AuditLogChangesetPopulatorImpl
-
-
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 interfaceAuditLogChangesetPopulator
- Parameters:
changeset
- the changeset to populateforceAdjustTimestamp
- if set to true, the timestamp will be adjusted even if it's currently populated- Returns:
- the adjusted changeset
-
setAuditLogMetadataResolver
-