From 28ebd3ae91dc6087a9f9acd93f80dd92be2d64aa Mon Sep 17 00:00:00 2001 From: Keuin Date: Thu, 23 Apr 2020 00:16:13 +0800 Subject: Finish backup. TODO: - restore --- src/main/java/com/keuin/kbackupfabric/KBMain.java | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/main/java/com/keuin/kbackupfabric/KBMain.java (limited to 'src/main/java/com/keuin/kbackupfabric/KBMain.java') 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; + } +} -- cgit v1.2.3