Package org.apache.zookeeper.audit
Class AuditEvent
- java.lang.Object
-
- org.apache.zookeeper.audit.AuditEvent
-
public final class AuditEvent extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuditEvent.FieldName
static class
AuditEvent.Result
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Map.Entry<String,String>>
getLogEntries()
Gives all entries to be logged.AuditEvent.Result
getResult()
String
getValue(AuditEvent.FieldName fieldName)
String
toString()
Gives the string to be logged, ignores fields with null values
-
-
-
Method Detail
-
getLogEntries
public Set<Map.Entry<String,String>> getLogEntries()
Gives all entries to be logged.- Returns:
- log entries
-
getValue
public String getValue(AuditEvent.FieldName fieldName)
-
getResult
public AuditEvent.Result getResult()
-
-