public class ImmutableAuditLogChangeset extends Object implements AuditLogChangeset
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableAuditLogChangeset.Builder
Builder for
ImmutableAuditLogChangeset . |
Constructor and Description |
---|
ImmutableAuditLogChangeset(Long id,
Instant timestamp,
AuditLogAuthorType authorType,
Long authorId,
String authorName,
AuditLogEventType eventType,
AuditLogEntityType entityType,
Long entityId,
String entityName,
String ipAddress,
String eventMessage,
List<ImmutableAuditLogEntry> entries)
Deprecated.
Use the
ImmutableAuditLogChangeset.Builder instead |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ImmutableAuditLogChangeset |
from(AuditLogChangeset changeset) |
AuditLogAuthor |
getAuthor() |
Long |
getAuthorId() |
String |
getAuthorName()
Returns the name of the author of the audit log entry.
|
AuditLogAuthorType |
getAuthorType() |
Collection<ImmutableAuditLogEntity> |
getEntities() |
Collection<ImmutableAuditLogEntry> |
getEntries() |
String |
getEventMessage() |
AuditLogEventType |
getEventType() |
Long |
getId() |
String |
getIpAddress() |
AuditLogEventSource |
getSource() |
Instant |
getTimestampInstant() |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAdditionalEntities, getEntity, getEntityId, getEntityName, getEntityType
@Deprecated public ImmutableAuditLogChangeset(Long id, Instant timestamp, AuditLogAuthorType authorType, Long authorId, String authorName, AuditLogEventType eventType, AuditLogEntityType entityType, Long entityId, String entityName, String ipAddress, String eventMessage, List<ImmutableAuditLogEntry> entries)
ImmutableAuditLogChangeset.Builder
insteadpublic Long getId()
getId
in interface AuditLogChangeset
public Instant getTimestampInstant()
getTimestampInstant
in interface AuditLogChangeset
public AuditLogAuthorType getAuthorType()
getAuthorType
in interface AuditLogChangeset
public Long getAuthorId()
getAuthorId
in interface AuditLogChangeset
public String getAuthorName()
AuditLogChangeset
getAuthorName
in interface AuditLogChangeset
public AuditLogAuthor getAuthor()
getAuthor
in interface AuditLogChangeset
public AuditLogEventType getEventType()
getEventType
in interface AuditLogChangeset
public String getIpAddress()
getIpAddress
in interface AuditLogChangeset
public String getEventMessage()
getEventMessage
in interface AuditLogChangeset
public AuditLogEventSource getSource()
getSource
in interface AuditLogChangeset
public Collection<ImmutableAuditLogEntry> getEntries()
getEntries
in interface AuditLogChangeset
public Collection<ImmutableAuditLogEntity> getEntities()
getEntities
in interface AuditLogChangeset
public static ImmutableAuditLogChangeset from(AuditLogChangeset changeset)
ImmutableAuditLogChangeset
with the same properties as the given changeset.
Will avoid creating a copy if possible.Copyright © 2020 Atlassian. All rights reserved.