Class AuditRecord.Builder
- java.lang.Object
-
- com.atlassian.confluence.api.model.audit.AuditRecord.Builder
-
- Enclosing class:
- AuditRecord
public static class AuditRecord.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(AuditRecord other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditRecord.Builder
affectedObject(@NonNull AffectedObject affectedObject)
AuditRecord.Builder
associatedObject(@NonNull AffectedObject associatedObject)
AuditRecord.Builder
associatedObjects(@NonNull Set<AffectedObject> associatedObjects)
AuditRecord.Builder
author(User user)
AuditRecord
build()
AuditRecord.Builder
category(String category)
AuditRecord.Builder
changedValue(@NonNull ChangedValue changedValue)
AuditRecord.Builder
changedValues(@NonNull List<ChangedValue> changedValues)
AuditRecord.Builder
createdDate(org.joda.time.DateTime createdDate)
AuditRecord.Builder
description(String description)
AuditRecord.Builder
isSysAdmin(boolean sysAdmin)
AuditRecord.Builder
remoteAddress(String remoteAddress)
AuditRecord.Builder
summary(String summary)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AuditRecord other)
-
-
Method Detail
-
author
public AuditRecord.Builder author(User user)
-
remoteAddress
public AuditRecord.Builder remoteAddress(String remoteAddress)
-
createdDate
public AuditRecord.Builder createdDate(org.joda.time.DateTime createdDate)
-
summary
public AuditRecord.Builder summary(String summary)
-
description
public AuditRecord.Builder description(String description)
-
category
public AuditRecord.Builder category(String category)
-
affectedObject
public AuditRecord.Builder affectedObject(@NonNull AffectedObject affectedObject)
-
changedValues
public AuditRecord.Builder changedValues(@NonNull List<ChangedValue> changedValues)
-
changedValue
public AuditRecord.Builder changedValue(@NonNull ChangedValue changedValue)
-
associatedObjects
public AuditRecord.Builder associatedObjects(@NonNull Set<AffectedObject> associatedObjects)
-
associatedObject
public AuditRecord.Builder associatedObject(@NonNull AffectedObject associatedObject)
-
isSysAdmin
public AuditRecord.Builder isSysAdmin(boolean sysAdmin)
-
build
public AuditRecord build()
-
-