AuditEvent.Builder
should be used
to build AuditEvent
s instead.@Deprecated public class AuditEntryBuilder extends BuilderSupport
audit entries
.
Supplying an action
is required. If no action is supplied to the builder, calling
build()
will throw a NullPointerException
.
AuditEntry
,
AuditEntryConverter
,
Audited
NOT_BLANK
Constructor and Description |
---|
AuditEntryBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AuditEntryBuilder |
action(Class<?> value)
Deprecated.
|
AuditEntryBuilder |
action(String value)
Deprecated.
|
AuditEntry |
build()
Deprecated.
Return the resultant
AuditEntry . |
AuditEntryBuilder |
details(String value)
Deprecated.
|
AuditEntryBuilder |
project(Project value)
Deprecated.
|
AuditEntryBuilder |
repository(Repository value)
Deprecated.
|
AuditEntryBuilder |
sourceIpAddress(String value)
Deprecated.
|
AuditEntryBuilder |
target(String value)
Deprecated.
|
AuditEntryBuilder |
timestamp(Date value)
Deprecated.
|
AuditEntryBuilder |
timestamp(long value)
Deprecated.
|
AuditEntryBuilder |
user(ApplicationUser value)
Deprecated.
|
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
@Nonnull public AuditEntryBuilder action(@Nonnull Class<?> value)
@Nonnull public AuditEntryBuilder action(@Nonnull String value)
@Nonnull public AuditEntry build()
AuditEntry
.
Supplying an action
is required. If no action is supplied to the builder, calling
build()
will throw a NullPointerException
.
AuditEntry
@Nonnull public AuditEntryBuilder details(@Nullable String value)
@Nonnull public AuditEntryBuilder project(@Nullable Project value)
@Nonnull public AuditEntryBuilder repository(@Nullable Repository value)
@Nonnull public AuditEntryBuilder sourceIpAddress(@Nullable String value)
@Nonnull public AuditEntryBuilder target(@Nullable String value)
@Nonnull public AuditEntryBuilder timestamp(@Nonnull Date value)
@Nonnull public AuditEntryBuilder timestamp(long value)
@Nonnull public AuditEntryBuilder user(@Nullable ApplicationUser value)
Copyright © 2021 Atlassian. All rights reserved.