public interface

AuditLogEntry

implements Comparable<T>
com.atlassian.upm.api.log.AuditLogEntry

Class Overview

Represents a single entry in the UPM's Audit Log. Entries can represent any kind of plugin event: plugin installation, plugin uninstallation, plugin enablement, and more.

Summary

Public Methods
Date getDate()
Returns the date at which this log entry was created
EntryType getEntryType()
Returns the entry type of the event
String getI18nKey()
Returns the i18n key of the event message
String getMessage(I18nResolver i18nResolver)
Returns the log entry's message content
String getTitle(I18nResolver i18nResolver)
Returns the log entry's title.
String getUserKey()
Returns the userKey of the user that was logged in and created this event, or the application name if event is executed by the app
@Deprecated String getUsername()
This method is deprecated. since 2.10.1, use getUserKey()
[Expand]
Inherited Methods
From interface java.lang.Comparable

Public Methods

public Date getDate ()

Returns the date at which this log entry was created

Returns
  • the date at which this log entry was created

public EntryType getEntryType ()

Returns the entry type of the event

Returns
  • the entry type of the event

public String getI18nKey ()

Returns the i18n key of the event message

Returns
  • the i18n key of the event message

public String getMessage (I18nResolver i18nResolver)

Returns the log entry's message content

Parameters
i18nResolver the I18nResolver used to translate the title
Returns
  • the log entry's message content

public String getTitle (I18nResolver i18nResolver)

Returns the log entry's title.

Parameters
i18nResolver the I18nResolver used to translate the title
Returns
  • the log entry's title.

public String getUserKey ()

Returns the userKey of the user that was logged in and created this event, or the application name if event is executed by the app

Returns
  • the userKey of the user that was logged in and created this event, or the application name if event is executed by the app

@Deprecated public String getUsername ()

This method is deprecated.
since 2.10.1, use getUserKey()

Returns the username of the user that was logged in and created this event, or the application name if event is executed by the app

Returns
  • the username of the user that was logged in and created this event, or the application name if event is executed by the app
Give us feedback

Was this documentation helpful?