Class MigrationServiceImpl.ProgressReporter

java.lang.Object
org.nuxeo.runtime.migration.MigrationServiceImpl.ProgressReporter
Enclosing class:
MigrationServiceImpl

protected static class MigrationServiceImpl.ProgressReporter extends Object
Progress reporter that reports progress in the key/value store.
Since:
9.3
  • Field Details

    • id

      protected final String id
  • Constructor Details

    • ProgressReporter

      public ProgressReporter(String id)
  • Method Details

    • reportProgress

      public void reportProgress(String message, long num, long total, boolean ping)
      Reports progress. If num or total are -2 then null is used.
    • reportError

      public void reportError(String message, Integer code)
      Since:
      2023.3