Interface Mapper

  • All Known Implementing Classes:
    AuditEventMapper, CADFMapper

    public interface Mapper
    Each implementing class is expected to be stateful.
    • Method Detail

      • init

        Mapper init​(PropertyGroup auditLogProperties)
             throws java.lang.Exception
        initializes and loads the default values from the tenant configuration.
        Parameters:
        auditLogProperties -
        Returns:
        Throws:
        java.lang.Exception
      • map

        Mapper map​(AuditLogEntry entry)
            throws java.lang.Exception
        map the audit log entry to the intended format.
        Parameters:
        entry -
        Returns:
        Throws:
        java.lang.Exception
      • serialize

        java.lang.String serialize()
                            throws java.lang.Exception
        serializes to the specific format in a string format.
        Returns:
        Throws:
        java.lang.Exception