Interface MigrationLog
- All Known Implementing Classes:
MigrationLogImpl
public interface MigrationLog
Accumulates state, for logging upon completion of migration; which messages are logged depends on whether the
migration was successful or not. This class does not perform any logging itself; see
MigrationLogDao for that.- Since:
- 7.0
-
Method Summary
Modifier and TypeMethodDescriptionevents()Gets all the events recorded so far.log(AuditEntry event) Accumulates a new event for logging into a new MigrationLog.
-
Method Details
-
log
Accumulates a new event for logging into a new MigrationLog.- Parameters:
event- the event to log- Returns:
- a new MigrationLog which is a copy of this one with the new event added
-
events
Gets all the events recorded so far.- Returns:
- all the events accumulated in this chain of loggers
-