-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add progress listeners to the long-running operations (#323)
- Defines progress tracker and listener interface - Implements progress tracker - Implements logging progress listener - Fixes log patterns to make logs easier to read - Integrates progress tracking into backup, restore, merge, inspect operations - Adds new tests - Fixes the order of modifiers for the whole codebase - Fixes an issue causing incorrect backup type to be reported in case of forced full backups - Changes approach for passing input parameters to controllers - Defines new parameter VOs with builders - Updates tests and documentation Resolves #297 {major} Signed-off-by: Esta Nagy <[email protected]>
- Loading branch information
Showing
119 changed files
with
2,071 additions
and
1,022 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...ore/src/main/java/com/github/nagyesta/filebarj/core/backup/pipeline/BackupParameters.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.github.nagyesta.filebarj.core.backup.pipeline; | ||
|
||
import com.github.nagyesta.filebarj.core.config.BackupJobConfiguration; | ||
import com.github.nagyesta.filebarj.core.progress.LoggingProgressListener; | ||
import com.github.nagyesta.filebarj.core.progress.ProgressListener; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NonNull; | ||
|
||
@Data | ||
@Builder | ||
public class BackupParameters { | ||
private final @NonNull BackupJobConfiguration job; | ||
@Builder.Default | ||
private final boolean forceFull = false; | ||
@Builder.Default | ||
private final @NonNull ProgressListener progressListener = LoggingProgressListener.INSTANCE; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.