Package com.illumon.iris.importers.util
Class MergeData
java.lang.Object
com.illumon.iris.importers.util.MergeData
- All Implemented Interfaces:
StatusCallback
Easy to use wrapper for merging data.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Gets the percent complete.static MergeData
of
(MergeParameters params) void
run()
Executes a merge.void
run
(com.fishlib.util.process.FatalErrorReporter fatalErrorReporter, StatusCallback statusCallback) void
Update the progress % and status message.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.util.progress.StatusCallback
finish, finish, getStepValue, remaining, remaining, subrange, update
-
Field Details
-
defaultLogger
public static final com.fishlib.io.logger.Logger defaultLogger
-
-
Method Details
-
of
-
run
public void run()Executes a merge. -
run
public void run(@NotNull com.fishlib.util.process.FatalErrorReporter fatalErrorReporter, @NotNull StatusCallback statusCallback) -
update
Update the progress % and status message.- Specified by:
update
in interfaceStatusCallback
- Parameters:
progress
- percent complete (0-100).statusSupplier
- optional message supplier.
-
getValue
public int getValue()Gets the percent complete.- Specified by:
getValue
in interfaceStatusCallback
- Returns:
- percent complete.
-