public class

MigrationLogImpl

extends Object
implements MigrationLog
java.lang.Object
   ↳ com.atlassian.jira.upgrade.tasks.role.MigrationLogImpl

Summary

Public Constructors
MigrationLogImpl()
MigrationLogImpl(List<AuditEntry> events, AuditEntry event)
Public Methods
@Nonnull 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()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.upgrade.tasks.role.MigrationLog

Public Constructors

public MigrationLogImpl ()

public MigrationLogImpl (List<AuditEntry> events, AuditEntry event)

Public Methods

@Nonnull public Collection<AuditEntry> events ()

Gets all the events recorded so far.

Returns
  • all the events accumulated in this chain of loggers

public MigrationLog log (AuditEntry event)

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

public String toString ()