public class AuditType extends Object
Audit event types are unique across applications.
Modifier and Type | Class and Description |
---|---|
static class |
AuditType.Builder |
Constructor and Description |
---|
AuditType(CoverageArea area,
String category,
String action,
CoverageLevel level)
Deprecated.
since 1.7.0 use
AuditType(Builder) variant which expects i18n keys
for category and action. |
Modifier and Type | Method and Description |
---|---|
static AuditType.Builder |
builder(AuditType auditType) |
boolean |
equals(Object o) |
static AuditType.Builder |
fromI18nKeys(CoverageArea area,
CoverageLevel level,
String categoryI18nKey,
String actionI18nKey) |
String |
getAction() |
String |
getActionI18nKey() |
CoverageArea |
getArea() |
String |
getCategory() |
String |
getCategoryI18nKey() |
CoverageLevel |
getLevel() |
int |
hashCode() |
String |
toString() |
@Deprecated public AuditType(@Nonnull CoverageArea area, @Nonnull String category, @Nonnull String action, @Nonnull CoverageLevel level)
AuditType(Builder)
variant which expects i18n keys
for category and action.@Nonnull public CoverageArea getArea()
@Nonnull public String getCategoryI18nKey()
@Nullable public String getCategory()
@Nonnull public String getActionI18nKey()
@Nullable public String getAction()
@Nonnull public CoverageLevel getLevel()
public static AuditType.Builder fromI18nKeys(@Nonnull CoverageArea area, @Nonnull CoverageLevel level, @Nonnull String categoryI18nKey, @Nonnull String actionI18nKey)
public static AuditType.Builder builder(@Nonnull AuditType auditType)
Copyright © 2020 Atlassian. All rights reserved.