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, waitgetAdditionalEntities, 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 AuditLogChangesetpublic Instant getTimestampInstant()
getTimestampInstant in interface AuditLogChangesetpublic AuditLogAuthorType getAuthorType()
getAuthorType in interface AuditLogChangesetpublic Long getAuthorId()
getAuthorId in interface AuditLogChangesetpublic String getAuthorName()
AuditLogChangesetgetAuthorName in interface AuditLogChangesetpublic AuditLogAuthor getAuthor()
getAuthor in interface AuditLogChangesetpublic AuditLogEventType getEventType()
getEventType in interface AuditLogChangesetpublic String getIpAddress()
getIpAddress in interface AuditLogChangesetpublic String getEventMessage()
getEventMessage in interface AuditLogChangesetpublic AuditLogEventSource getSource()
getSource in interface AuditLogChangesetpublic Collection<ImmutableAuditLogEntry> getEntries()
getEntries in interface AuditLogChangesetpublic Collection<ImmutableAuditLogEntity> getEntities()
getEntities in interface AuditLogChangesetpublic 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.