public class AuditEntity extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AuditEntity.Builder
The builder class for
AuditEntity |
| Modifier and Type | Method and Description |
|---|---|
static AuditEntity.Builder |
builder(AuditType type) |
boolean |
equals(Object o) |
List<AuditResource> |
getAffectedObjects() |
AuditType |
getAuditType() |
AuditAuthor |
getAuthor() |
List<ChangedValue> |
getChangedValues() |
Optional<String> |
getExtraAttribute(String name) |
Optional<String> |
getExtraAttributeByI18nKey(String i18nKey) |
Collection<AuditAttribute> |
getExtraAttributes() |
Long |
getId() |
String |
getMethod() |
String |
getNode() |
String |
getSource() |
String |
getSystem() |
Instant |
getTimestamp() |
String |
getVersion() |
int |
hashCode() |
String |
toString() |
@Nullable public Long getId()
AuditEntity objects@Nonnull public Instant getTimestamp()
@Nonnull public AuditAuthor getAuthor()
@Nonnull public AuditType getAuditType()
@Nonnull public List<AuditResource> getAffectedObjects()
@Nonnull public List<ChangedValue> getChangedValues()
@Nullable public String getSource()
@Nullable public String getSystem()
@Nullable public String getNode()
@Nullable public String getMethod()
@Nonnull public Collection<AuditAttribute> getExtraAttributes()
public Optional<String> getExtraAttribute(@Nonnull String name)
name - - the attribute namepublic Optional<String> getExtraAttributeByI18nKey(@Nonnull String i18nKey)
i18nKey - - the attribute name i18n keypublic static AuditEntity.Builder builder(AuditType type)
Copyright © 2023 Atlassian. All rights reserved.