Interface MigrationProgressListener
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MigrationProgressListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMigrationProgressListener.ProgressState
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidupdate(MigrationProgressListener.ProgressState state, double progress)Called on every step during migration that might change the progress.
-
-
-
Method Detail
-
update
void update(MigrationProgressListener.ProgressState state, double progress)
Called on every step during migration that might change the progress.- Parameters:
state- Current state of the migrationprogress- Progress that should be between 0.0 and 1.0 but due to inaccurate estimations it might even be 1.1
-
-