-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preparation for Switching to a New Database Version (#1521)
* preparing to switch to a new database version * add PreAuthorize --------- Co-authored-by: Anthony Stirling <[email protected]>
- Loading branch information
Showing
44 changed files
with
1,145 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/main/java/stirling/software/SPDF/config/DatabaseBackupInterface.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package stirling.software.SPDF.config; | ||
|
||
import java.io.IOException; | ||
import java.util.List; | ||
|
||
import stirling.software.SPDF.utils.FileInfo; | ||
|
||
public interface DatabaseBackupInterface { | ||
void exportDatabase() throws IOException; | ||
|
||
boolean importDatabase(); | ||
|
||
boolean hasBackup(); | ||
|
||
List<FileInfo> getBackupList(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.