public class MigrationLogImpl extends Object implements MigrationLog
Constructor and Description |
---|
MigrationLogImpl() |
MigrationLogImpl(List<AuditEntry> events,
AuditEntry event) |
Modifier and Type | Method and Description |
---|---|
Collection<AuditEntry> |
events()
Gets all the events recorded so far.
|
MigrationLog |
log(AuditEntry event)
Accumulates a new event for logging into a new MigrationLog.
|
String |
toString() |
public MigrationLogImpl()
public MigrationLogImpl(@Nonnull List<AuditEntry> events, @Nonnull AuditEntry event)
@Nonnull public Collection<AuditEntry> events()
MigrationLog
events
in interface MigrationLog
public MigrationLog log(@Nonnull AuditEntry event)
MigrationLog
log
in interface MigrationLog
event
- the event to logCopyright © 2002-2023 Atlassian. All Rights Reserved.