diff options
author | Keuin <[email protected]> | 2020-04-23 00:16:13 +0800 |
---|---|---|
committer | keuin <[email protected]> | 2020-04-23 00:20:29 +0800 |
commit | 28ebd3ae91dc6087a9f9acd93f80dd92be2d64aa (patch) | |
tree | 9a051d4784cd41953a5c6aa02e55005e14d907bf /src/main/java/com/keuin/kbackupfabric/KBMain.java | |
parent | d00b439204b7ddfe381f1ff7c0dc1f02e16da8de (diff) |
Finish backup.
TODO:
- restore
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/KBMain.java')
-rw-r--r-- | src/main/java/com/keuin/kbackupfabric/KBMain.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/KBMain.java b/src/main/java/com/keuin/kbackupfabric/KBMain.java new file mode 100644 index 0000000..f2a3789 --- /dev/null +++ b/src/main/java/com/keuin/kbackupfabric/KBMain.java @@ -0,0 +1,24 @@ +package com.keuin.kbackupfabric; + +public class KBMain { + /** + * Perform real backup process. + * + * @param backupName the backup name. + * @return true if success, false if failed. + */ + public static boolean backup(String backupName) { + + return true; + } + + /** + * Perform real restore process. + * + * @param backupName the backup name. + * @return true if success, false if failed. + */ + public static boolean restore(String backupName) { + return true; + } +} |