| Modifier and Type | Field and Description |
|---|---|
| private final BibDatabaseContext | |
| private final List | |
| private final Path | |
| private final String | |
| private final String | |
| private static final String | |
| private static final String | |
| private static final Logger | |
| private Optional | |
| private int | |
| private final CliPreferences | |
| private final BiFunction | |
| private final List | |
| private final long | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | CopyFilesTask(BibDatabaseContext databaseContext, List<BibEntry> entries, Path path, CliPreferences preferences)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| protected List | call()
Implements abstract javafx. Invoked when the Task is executed, the call method must be overridden and implemented by subclasses. |
| private void |
| databaseContext | back to summary |
|---|---|
| private final BibDatabaseContext databaseContext | |
| entries | back to summary |
|---|---|
| private final List<BibEntry> entries | |
| exportPath | back to summary |
|---|---|
| private final Path exportPath | |
| localizedErrorMessage | back to summary |
|---|---|
| private final String localizedErrorMessage | |
| localizedSuccessMessage | back to summary |
|---|---|
| private final String localizedSuccessMessage | |
| LOGFILE_EXT | back to summary |
|---|---|
| private static final String LOGFILE_EXT | |
| LOGFILE_PREFIX | back to summary |
|---|---|
| private static final String LOGFILE_PREFIX | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| newPath | back to summary |
|---|---|
| private Optional<Path> newPath | |
| numberSuccessful | back to summary |
|---|---|
| private int numberSuccessful | |
| preferences | back to summary |
|---|---|
| private final CliPreferences preferences | |
| resolvePathFilename | back to summary |
|---|---|
| private final BiFunction<Path, Path, Path> resolvePathFilename | |
| results | back to summary |
|---|---|
| private final List<CopyFilesResultItemViewModel> results | |
| totalFilesCount | back to summary |
|---|---|
| private final long totalFilesCount | |
| totalFilesCounter | back to summary |
|---|---|
| private int totalFilesCounter | |
| CopyFilesTask | back to summary |
|---|---|
| public CopyFilesTask(BibDatabaseContext databaseContext, List<BibEntry> entries, Path path, CliPreferences preferences) | |
| addResultToList | back to summary |
|---|---|
| private void addResultToList(Path newFile, boolean success, String logMessage) | |
| call | back to summary |
|---|---|
| protected List Implements abstract javafx. Doc from javafx. Invoked when the Task is executed, the call method must be overridden and implemented by subclasses. The call method actually performs the background thread logic. Only the updateProgress, updateMessage, updateValue and updateTitle methods of Task may be called from code within this method. Any other interaction with the Task from the background thread will result in runtime exceptions.
| |
| writeLogMessage | back to summary |
|---|---|
| private void writeLogMessage(Path newFile, BufferedWriter bw, String logMessage) | |