Class MeshMigrationFinishedEvent

All Implemented Interfaces:
Serializable

@AsynchronousPreferred public class MeshMigrationFinishedEvent extends AbstractInstanceMigrationEvent
Event that is raised when migrating repositories from Bitbucket DC to Mesh has completed executing.

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

Since:
8.0
See Also:
  • Constructor Details

    • MeshMigrationFinishedEvent

      public MeshMigrationFinishedEvent(@Nonnull Object source, @Nonnull Job job, long errorCount, long infoCount, long warningCount)
  • Method Details

    • getErrorCount

      public long getErrorCount()
      Returns:
      count of migration error messages
    • getFinalState

      public int getFinalState()
      Returns:
      The JobState.getId() that the migration job was in when it completed
    • getInfoCount

      public long getInfoCount()
      Returns:
      count of migration info messages
    • getWarningCount

      public long getWarningCount()
      Returns:
      count of migration info messages