mirror of
https://github.com/booklore-app/booklore.git
synced 2026-05-19 01:04:39 -04:00
fix(api):Remove unused TaskType file (#2789)
This commit is contained in:
committed by
GitHub
parent
463ff3eae5
commit
be04df6a11
@@ -1,81 +0,0 @@
|
||||
package org.booklore.task;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
public enum TaskType {
|
||||
REFRESH_LIBRARY_METADATA(
|
||||
false,
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
"Refresh Metadata",
|
||||
"Re-reads book information (title, author, cover, etc.) from your files and updates the Booklore database."
|
||||
),
|
||||
UPDATE_BOOK_RECOMMENDATIONS(
|
||||
false,
|
||||
true,
|
||||
true,
|
||||
false,
|
||||
"Update Book Recommendations",
|
||||
"Analyzes your library to generate personalized book recommendations based on the books you own."
|
||||
),
|
||||
CLEANUP_DELETED_BOOKS(
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
false,
|
||||
"Cleanup Deleted Books",
|
||||
"Permanently removes database entries for books you previously deleted from your libraries."
|
||||
),
|
||||
SYNC_LIBRARY_FILES(
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
false,
|
||||
"Sync Library Files",
|
||||
"Scans your library folders to detect new books and removes entries for files that no longer exist."
|
||||
),
|
||||
CLEANUP_TEMP_METADATA(
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
false,
|
||||
"Cleanup Temporary Metadata",
|
||||
"Removes temporary metadata files created during the bookdrop and manual metadata review processes."
|
||||
),
|
||||
REFRESH_METADATA_MANUAL(
|
||||
false,
|
||||
true,
|
||||
false,
|
||||
true,
|
||||
"Refresh Metadata",
|
||||
"Updates metadata information for your selected books."
|
||||
);
|
||||
|
||||
@Getter
|
||||
private final boolean parallel;
|
||||
|
||||
@Getter
|
||||
private final boolean async;
|
||||
|
||||
@Getter
|
||||
private final boolean cronSupported;
|
||||
|
||||
@Getter
|
||||
private final boolean hiddenFromUI;
|
||||
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
@Getter
|
||||
private final String description;
|
||||
|
||||
TaskType(boolean parallel, boolean async, boolean cronSupported, boolean hiddenFromUI, String name, String description) {
|
||||
this.parallel = parallel;
|
||||
this.async = async;
|
||||
this.cronSupported = cronSupported;
|
||||
this.hiddenFromUI = hiddenFromUI;
|
||||
this.name = name;
|
||||
this.description = description;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user