org.qi4j.migration

## Class MigrationEventLogger

- java.lang.Object
- - org.qi4j.migration.MigrationEventLogger

- All Implemented Interfaces:
    MigrationEvents

      public class MigrationEventLogger
      extends Object
      implements MigrationEvents

  MigrationEvents implementation that logs the events.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected org.slf4j.Logger` | `logger`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MigrationEventLogger()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `associationAdded(String entity, String name, String value)`
    `void` | `associationRemoved(String entity, String name)`
    `void` | `associationRenamed(String entity, String from, String to)`
    `void` | `entityTypeChanged(String entity, String newEntityType)`
    `void` | `manyAssociationAdded(String entity, String name, String... value)`
    `void` | `manyAssociationRemoved(String entity, String name)`
    `void` | `manyAssociationRenamed(String entity, String from, String to)`
    `void` | `namedAssociationAdded(String entity, String name, Map<String,String> value)`
    `void` | `namedAssociationRemoved(String entity, String name)`
    `void` | `namedAssociationRenamed(String entity, String from, String to)`
    `void` | `propertyAdded(String entity, String name, Object value)`
    `void` | `propertyRemoved(String entity, String name)`
    `void` | `propertyRenamed(String entity, String from, String to)`

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

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

- - ### Field Detail

    - #### logger

          protected org.slf4j.Logger logger

  - ### Constructor Detail

    - #### MigrationEventLogger

          public MigrationEventLogger()

  - ### Method Detail

    - #### propertyAdded

          public void propertyAdded(String entity,
                           String name,
                           Object value)

      Specified by:
        `propertyAdded` in interface `MigrationEvents`

    - #### propertyRemoved

          public void propertyRemoved(String entity,
                             String name)

      Specified by:
        `propertyRemoved` in interface `MigrationEvents`

    - #### propertyRenamed

          public void propertyRenamed(String entity,
                             String from,
                             String to)

      Specified by:
        `propertyRenamed` in interface `MigrationEvents`

    - #### associationAdded

          public void associationAdded(String entity,
                              String name,
                              String value)

      Specified by:
        `associationAdded` in interface `MigrationEvents`

    - #### associationRemoved

          public void associationRemoved(String entity,
                                String name)

      Specified by:
        `associationRemoved` in interface `MigrationEvents`

    - #### associationRenamed

          public void associationRenamed(String entity,
                                String from,
                                String to)

      Specified by:
        `associationRenamed` in interface `MigrationEvents`

    - #### manyAssociationAdded

          public void manyAssociationAdded(String entity,
                                  String name,
                                  String... value)

      Specified by:
        `manyAssociationAdded` in interface `MigrationEvents`

    - #### manyAssociationRemoved

          public void manyAssociationRemoved(String entity,
                                    String name)

      Specified by:
        `manyAssociationRemoved` in interface `MigrationEvents`

    - #### manyAssociationRenamed

          public void manyAssociationRenamed(String entity,
                                    String from,
                                    String to)

      Specified by:
        `manyAssociationRenamed` in interface `MigrationEvents`

    - #### namedAssociationAdded

          public void namedAssociationAdded(String entity,
                                   String name,
                                   Map<String,String> value)

      Specified by:
        `namedAssociationAdded` in interface `MigrationEvents`

    - #### namedAssociationRemoved

          public void namedAssociationRemoved(String entity,
                                     String name)

      Specified by:
        `namedAssociationRemoved` in interface `MigrationEvents`

    - #### namedAssociationRenamed

          public void namedAssociationRenamed(String entity,
                                     String from,
                                     String to)

      Specified by:
        `namedAssociationRenamed` in interface `MigrationEvents`

    - #### entityTypeChanged

          public void entityTypeChanged(String entity,
                               String newEntityType)

      Specified by:
        `entityTypeChanged` in interface `MigrationEvents`