Package com.google.gerrit.server
Class AuditEvent
java.lang.Object
com.google.gerrit.server.AuditEvent
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal long
protected static final com.google.common.collect.ImmutableListMultimap<String,
?> final com.google.common.collect.ListMultimap<String,
?> final Object
final String
final long
static final String
final AuditEvent.UUID
final String
final long
final CurrentUser
-
Constructor Summary
ConstructorsConstructorDescriptionAuditEvent
(String sessionId, CurrentUser who, String what, long when, com.google.common.collect.ListMultimap<String, ?> params, Object result) Creates a new audit event with results -
Method Summary
-
Field Details
-
UNKNOWN_SESSION_ID
- See Also:
-
EMPTY_PARAMS
-
sessionId
-
who
-
when
public final long when -
what
-
params
-
result
-
timeAtStart
public final long timeAtStart -
elapsed
public final long elapsed -
uuid
-
-
Constructor Details
-
AuditEvent
public AuditEvent(String sessionId, CurrentUser who, String what, long when, com.google.common.collect.ListMultimap<String, ?> params, Object result) Creates a new audit event with results- Parameters:
sessionId
- session id the event belongs towho
- principal that has generated the eventwhat
- object of the eventwhen
- time-stamp of when the event startedparams
- parameters of the eventresult
- result of the event
-
-
Method Details