AuditEvent (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

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 and Description
    --- | ---
    `static class` | `AuditEvent.FieldName`
    `static class` | `AuditEvent.Result`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 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()

    - #### toString

          public String toString()

      Gives the string to be logged, ignores fields with null values
      Overrides:
        `toString` in class `Object`
      Returns:
        String

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.