Class MergeData

java.lang.Object
com.illumon.iris.importers.util.MergeData
All Implemented Interfaces:
StatusCallback

public final class MergeData extends Object implements StatusCallback
Easy to use wrapper for merging data.
  • Field Details

    • defaultLogger

      public static final com.fishlib.io.logger.Logger defaultLogger
  • Method Details

    • of

      public static MergeData of(@NotNull MergeParameters params)
    • run

      public void run()
      Executes a merge.
    • run

      public void run(@NotNull com.fishlib.util.process.FatalErrorReporter fatalErrorReporter, @NotNull StatusCallback statusCallback)
    • update

      public void update(int progress, Supplier<String> statusSupplier)
      Update the progress % and status message.
      Specified by:
      update in interface StatusCallback
      Parameters:
      progress - percent complete (0-100).
      statusSupplier - optional message supplier.
    • getValue

      public int getValue()
      Gets the percent complete.
      Specified by:
      getValue in interface StatusCallback
      Returns:
      percent complete.