org.wildfly.swarm.config.elytron

## Class FileAuditLog<T extends FileAuditLog<T>>

- java.lang.Object
- - org.wildfly.swarm.config.elytron.FileAuditLog<T>

-     public class FileAuditLog<T extends FileAuditLog<T>>
      extends Object

  An audit logger that logs to a local file.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FileAuditLog(String key)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addPropertyChangeListener(PropertyChangeListener listener)` Adds a property change listener
    `Boolean` | `attributeSynchronized()` Whether every event should be immediately synchronised to disk.
    `T` | `attributeSynchronized(Boolean value)` Whether every event should be immediately synchronised to disk.
    `Format` | `format()` The format to use to record the audit event.
    `T` | `format(Format value)` The format to use to record the audit event.
    `String` | `getKey()`
    `String` | `path()` Path of the file to be written.
    `T` | `path(String value)` Path of the file to be written.
    `String` | `relativeTo()` The relative path to the audit log.
    `T` | `relativeTo(String value)` The relative path to the audit log.
    `void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes a property change listener

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

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FileAuditLog

          public FileAuditLog(String key)

  - ### Method Detail

    - #### getKey

          public String getKey()

    - #### addPropertyChangeListener

          public void addPropertyChangeListener(PropertyChangeListener listener)

      Adds a property change listener

    - #### removePropertyChangeListener

          public void removePropertyChangeListener(PropertyChangeListener listener)

      Removes a property change listener

    - #### format

          public Format format()

      The format to use to record the audit event.

    - #### format

          public T format(Format value)

      The format to use to record the audit event.

    - #### attributeSynchronized

          public Boolean attributeSynchronized()

      Whether every event should be immediately synchronised to disk.

    - #### attributeSynchronized

          public T attributeSynchronized(Boolean value)

      Whether every event should be immediately synchronised to disk.

    - #### path

          public String path()

      Path of the file to be written.

    - #### path

          public T path(String value)

      Path of the file to be written.

    - #### relativeTo

          public String relativeTo()

      The relative path to the audit log.

    - #### relativeTo

          public T relativeTo(String value)

      The relative path to the audit log.

Copyright © 2018 JBoss by Red Hat. All rights reserved.