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 TypeMethodDescriptionintgetValue()Gets the percent complete.static MergeDataof(MergeParameters params) voidrun()Executes a merge.voidrun(com.fishlib.util.process.FatalErrorReporter fatalErrorReporter, StatusCallback statusCallback) voidUpdate the progress % and status message.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
updatein interfaceStatusCallback- Parameters:
progress- percent complete (0-100).statusSupplier- optional message supplier.
-
getValue
public int getValue()Gets the percent complete.- Specified by:
getValuein interfaceStatusCallback- Returns:
- percent complete.
-