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 |
protected org.slf4j.Logger |
logger
|
Method Summary |
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 |
propertyAdded(String entity,
String name,
String 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 |
logger
protected org.slf4j.Logger logger
MigrationEventLogger
public MigrationEventLogger()
propertyAdded
public void propertyAdded(String entity,
String name,
String 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
entityTypeChanged
public void entityTypeChanged(String entity,
String newEntityType)
- Specified by:
entityTypeChanged
in interface MigrationEvents