@AsynchronousPreferred public class

MigrationExportFinishedEvent

extends AbstractInstanceMigrationEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.ApplicationEvent
       ↳ com.atlassian.bitbucket.migration.event.AbstractInstanceMigrationEvent
         ↳ com.atlassian.bitbucket.migration.event.MigrationExportFinishedEvent
Known Direct Subclasses

Class Overview

Event that is raised when an Data Center export has completed executing.

To determine whether the export has finished successfully, the state should be inspected.

Summary

[Expand]
Inherited Fields
From class com.atlassian.bitbucket.migration.event.AbstractInstanceMigrationEvent
From class java.util.EventObject
Public Constructors
MigrationExportFinishedEvent(Object source, Job job, long errorCount, long infoCount, long warningCount)
Public Methods
long getErrorCount()
int getFinalState()
long getInfoCount()
long getWarningCount()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.migration.event.AbstractInstanceMigrationEvent
From class com.atlassian.bitbucket.event.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public MigrationExportFinishedEvent (Object source, Job job, long errorCount, long infoCount, long warningCount)

Public Methods

public long getErrorCount ()

Returns
  • count of export error messages

public int getFinalState ()

Returns
  • The JobState#id that the export job was in when it completed

public long getInfoCount ()

Returns
  • count of export info messages

public long getWarningCount ()

Returns
  • count of export info messages