@ExperimentalApi public class

RecordRequest

extends Object
java.lang.Object
   ↳ com.atlassian.jira.auditing.RecordRequest

@ExperimentalApi

This class is considered usable by external developers but its contracts have not stabilized.

Experimental APIs may be changed at any time before being marked @Internal or @PublicApi.

Class Overview

Single entry that is going to be saved in the AuditLog

Summary

Public Constructors
RecordRequest(AuditingCategory category, String summary, String eventSource, ApplicationUser author, String remoteAddress)
RecordRequest(AuditingCategory category, String summary)
RecordRequest(AuditingCategory category, String summary, String eventSource)
Public Methods
RecordRequest forObject(AssociatedItem item)
RecordRequest forObject(AssociatedItem.Type type, String name, Long id)
RecordRequest forObject(AssociatedItem.Type type, String name)
RecordRequest forObject(AssociatedItem.Type type, String name, String id)
ImmutableList<AssociatedItem> getAssociatedItems()
@Nullable ApplicationUser getAuthor()
@Nonnull AuditingCategory getCategory()
@Nonnull String getCategoryName()
ImmutableList<ChangedValue> getChangedValues()
@Nonnull String getEventSource()
@Nullable AssociatedItem getObjectItem()
@Nullable String getRemoteAddress()
@Nonnull String getSummary()
RecordRequest withAssociatedItem(AssociatedItem.Type type, String name, String id)
RecordRequest withAssociatedItems(AssociatedItem... items)
RecordRequest withAssociatedItems(Iterable<AssociatedItem> items)
RecordRequest withChangedValues(Iterable<ChangedValue> values)
RecordRequest withChangedValues(ChangedValue... values)
Protected Methods
I18nHelper getI18n()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RecordRequest (AuditingCategory category, String summary, String eventSource, ApplicationUser author, String remoteAddress)

public RecordRequest (AuditingCategory category, String summary)

public RecordRequest (AuditingCategory category, String summary, String eventSource)

Public Methods

public RecordRequest forObject (AssociatedItem item)

public RecordRequest forObject (AssociatedItem.Type type, String name, Long id)

public RecordRequest forObject (AssociatedItem.Type type, String name)

public RecordRequest forObject (AssociatedItem.Type type, String name, String id)

public ImmutableList<AssociatedItem> getAssociatedItems ()

@Nullable public ApplicationUser getAuthor ()

@Nonnull public AuditingCategory getCategory ()

@Nonnull public String getCategoryName ()

public ImmutableList<ChangedValue> getChangedValues ()

@Nonnull public String getEventSource ()

@Nullable public AssociatedItem getObjectItem ()

@Nullable public String getRemoteAddress ()

@Nonnull public String getSummary ()

public RecordRequest withAssociatedItem (AssociatedItem.Type type, String name, String id)

public RecordRequest withAssociatedItems (AssociatedItem... items)

public RecordRequest withAssociatedItems (Iterable<AssociatedItem> items)

public RecordRequest withChangedValues (Iterable<ChangedValue> values)

public RecordRequest withChangedValues (ChangedValue... values)

Protected Methods

protected I18nHelper getI18n ()