public class

AuditEntry

extends Object
java.lang.Object
   ↳ com.atlassian.stash.audit.AuditEntry

Class Overview

Details of an audited event which may be recorded in the audit log and other interested channels

Summary

Nested Classes
class AuditEntry.Builder  
Public Methods
@Nonnull String getAction()
@Nullable String getDetails()
@Nullable Project getProject()
@Nullable Repository getRepository()
@Nullable String getSourceIpAddress()
@Nonnull String getTarget()
long getTimestamp()
@Nullable StashUser getUser()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

@Nonnull public String getAction ()

Returns
  • the type of event occuring

@Nullable public String getDetails ()

Returns
  • relevant details of the audited event

@Nullable public Project getProject ()

Returns
  • the affected project

@Nullable public Repository getRepository ()

Returns
  • the affected repository

@Nullable public String getSourceIpAddress ()

Returns
  • the source IP address of the user causing the audit event

@Nonnull public String getTarget ()

Returns
  • details of the affected component (e.g. a plugin key or project slug)

public long getTimestamp ()

Returns
  • time the audited event was received

@Nullable public StashUser getUser ()

Returns
  • the user causing the audited event