| | |
| | | /** {@inheritDoc} */ |
| | | protected void verifyBackupClicked() |
| | | { |
| | | LinkedHashSet<LocalizableMessage> errors = new LinkedHashSet<LocalizableMessage>(); |
| | | LinkedHashSet<LocalizableMessage> errors = new LinkedHashSet<>(); |
| | | // Launch the task in another progress dialog. |
| | | ProgressDialog dlg = new ProgressDialog( |
| | | Utilities.createFrame(), |
| | |
| | | setPrimaryValid(lAvailableBackups); |
| | | setPrimaryValid(lBackupID); |
| | | |
| | | final LinkedHashSet<LocalizableMessage> errors = new LinkedHashSet<LocalizableMessage>(); |
| | | final LinkedHashSet<LocalizableMessage> errors = new LinkedHashSet<>(); |
| | | |
| | | BackupDescriptor backup = getSelectedBackup(); |
| | | |
| | |
| | | dir = parentDirectory.getText(); |
| | | backupID = RestorePanel.this.backupID.getText(); |
| | | } |
| | | backendSet = new HashSet<String>(); |
| | | backendSet = new HashSet<>(); |
| | | for (BackendDescriptor backend : info.getServerDescriptor().getBackends()) |
| | | { |
| | | if (!backend.isConfigBackend()) |
| | |
| | | lastException = t; |
| | | state = State.FINISHED_WITH_ERROR; |
| | | } |
| | | HashSet<BackendDescriptor> backends = new HashSet<BackendDescriptor>(); |
| | | HashSet<BackendDescriptor> backends = new HashSet<>(); |
| | | for (BackendDescriptor backend : |
| | | getInfo().getServerDescriptor().getBackends()) |
| | | { |
| | |
| | | /** {@inheritDoc} */ |
| | | protected ArrayList<String> getCommandLineArguments() |
| | | { |
| | | ArrayList<String> args = new ArrayList<String>(); |
| | | ArrayList<String> args = new ArrayList<>(); |
| | | |
| | | args.add("--backupDirectory"); |
| | | args.add(dir); |