BackupManager.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | markRecoveredIfContentRestored(ParserResult parserResult)
An original that could not be parsed at all (e.g. it still contains merge conflict markers) leaves its
|
| private static Optional | showBackupResolverDialog(DialogService dialogService, ExternalApplicationsPreferences externalApplicationsPreferences, Path originalPath, Path backupDir)
|
| public static Optional | showRestoreBackupDialog(DialogService dialogService, Path originalPath, GuiPreferences preferences, FileUpdateMonitor fileUpdateMonitor, StateManager stateManager)
|
| private static Optional | showReviewBackupDialog(DialogService dialogService, Path originalPath, GuiPreferences preferences, FileUpdateMonitor fileUpdateMonitor, StateManager stateManager)
|
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| BackupUIManager | back to summary |
|---|---|
| private BackupUIManager() | |
| markRecoveredIfContentRestored | back to summary |
|---|---|
| pack-priv static void markRecoveredIfContentRestored(ParserResult parserResult) An original that could not be parsed at all (e.g. it still contains merge conflict markers) leaves its
Whether a change was accepted is not a sufficient signal: a backup that differs only in its groups produces both a metadata change and a group change, and accepting the metadata change alone restores nothing. So the restored content itself is what decides. If nothing was restored the result stays invalid and the unreadable original is still reported.
| |
| showBackupResolverDialog | back to summary |
|---|---|
| private static Optional | |
| showRestoreBackupDialog | back to summary |
|---|---|
| public static Optional | |
| showReviewBackupDialog | back to summary |
|---|---|
| private static Optional | |