public class AuditingEntries extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LEGACY_DESCRIPTION |
Constructor and Description |
---|
AuditingEntries(UserManager userManager,
JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
AuditingEntry |
from(com.atlassian.audit.entity.AuditEntity entity)
Creates
AuditingEntry from AuditEntity . |
AuditingEntry |
from(RecordRequest record)
Creates
AuditingEntry from RecordRequest . |
protected ApplicationUser |
getLoggedInUser() |
protected String |
getRemoteAddress() |
public static final String LEGACY_DESCRIPTION
public AuditingEntries(UserManager userManager, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager)
public AuditingEntry from(RecordRequest record)
AuditingEntry
from RecordRequest
.record
- Jira auditing API equivalent of AuditingEntry
.AuditingEntry
created from RecordRequest
public AuditingEntry from(com.atlassian.audit.entity.AuditEntity entity)
AuditingEntry
from AuditEntity
.entity
- auditing framework API equivalent of AuditingEntry
.AuditingEntry
created from AuditEntity
protected ApplicationUser getLoggedInUser()
Copyright © 2002-2022 Atlassian. All Rights Reserved.