Package com.google.gerrit.server
Class AuditEvent
- java.lang.Object
-
- com.google.gerrit.server.AuditEvent
-
public class AuditEvent extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuditEvent.UUID
-
Field Summary
Fields Modifier and Type Field Description long
elapsed
protected static com.google.common.collect.ImmutableListMultimap<String,?>
EMPTY_PARAMS
com.google.common.collect.ListMultimap<String,?>
params
Object
result
String
sessionId
long
timeAtStart
static String
UNKNOWN_SESSION_ID
AuditEvent.UUID
uuid
String
what
long
when
CurrentUser
who
-
Constructor Summary
Constructors Constructor Description 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
-
-
-
Field Detail
-
UNKNOWN_SESSION_ID
public static final String UNKNOWN_SESSION_ID
- See Also:
- Constant Field Values
-
EMPTY_PARAMS
protected static final com.google.common.collect.ImmutableListMultimap<String,?> EMPTY_PARAMS
-
sessionId
public final String sessionId
-
who
public final CurrentUser who
-
when
public final long when
-
what
public final String what
-
params
public final com.google.common.collect.ListMultimap<String,?> params
-
result
public final Object result
-
timeAtStart
public final long timeAtStart
-
elapsed
public final long elapsed
-
uuid
public final AuditEvent.UUID uuid
-
-
Constructor Detail
-
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
-
-