| | |
| | | TreePath[] paths, BrowserController controller) |
| | | { |
| | | super(info, dlg); |
| | | backendSet = new HashSet<String>(); |
| | | backendSet = new HashSet<>(); |
| | | this.controller = controller; |
| | | this.paths = paths; |
| | | SortedSet<DN> entries = new TreeSet<DN>(); |
| | | SortedSet<DN> entries = new TreeSet<>(); |
| | | boolean canPrecalculateNumberOfEntries = true; |
| | | nToDelete = paths.length; |
| | | for (TreePath path : paths) |
| | |
| | | /** {@inheritDoc} */ |
| | | protected ArrayList<String> getCommandLineArguments() |
| | | { |
| | | return new ArrayList<String>(); |
| | | return new ArrayList<>(); |
| | | } |
| | | |
| | | /** {@inheritDoc} */ |
| | |
| | | { |
| | | // All the operations are incompatible if they apply to this |
| | | // backend for safety. |
| | | Set<String> backends = |
| | | new TreeSet<String>(taskToBeLaunched.getBackends()); |
| | | Set<String> backends = new TreeSet<>(taskToBeLaunched.getBackends()); |
| | | backends.retainAll(getBackends()); |
| | | if (!backends.isEmpty()) |
| | | { |
| | |
| | | state = State.RUNNING; |
| | | lastException = null; |
| | | |
| | | ArrayList<DN> alreadyDeleted = new ArrayList<DN>(); |
| | | ArrayList<BrowserNodeInfo> toNotify = new ArrayList<BrowserNodeInfo>(); |
| | | ArrayList<DN> alreadyDeleted = new ArrayList<>(); |
| | | ArrayList<BrowserNodeInfo> toNotify = new ArrayList<>(); |
| | | try |
| | | { |
| | | for (TreePath path : paths) |
| | |
| | | */ |
| | | private void printEquivalentCommandToDelete(DN dn, boolean usingControl) |
| | | { |
| | | ArrayList<String> args = new ArrayList<String>(getObfuscatedCommandLineArguments( |
| | | ArrayList<String> args = new ArrayList<>(getObfuscatedCommandLineArguments( |
| | | getConnectionCommandLineArguments(useAdminCtx, true))); |
| | | args.add(getNoPropertiesFileArgument()); |
| | | if (usingControl) |