summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/operation/abstracts/i
diff options
context:
space:
mode:
authorKeuin <[email protected]>2020-04-27 17:42:07 +0800
committerkeuin <[email protected]>2020-04-27 17:42:07 +0800
commit7444c2b1f281b5b147717ba2a2ed6798c66a057b (patch)
tree8d8952b2f3aaf1e497e8667b80fc59b91536c822 /src/main/java/com/keuin/kbackupfabric/operation/abstracts/i
parent33857f4bc061d8dc01a6d9d10e108da7cd7c6d18 (diff)
Resized the logo to reduce plugin size.1.3.3-dev1.3.2-dev
Refactored code for a better implementation of async and blocking task.
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/operation/abstracts/i')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/operation/abstracts/i/Blocking.java5
-rw-r--r--src/main/java/com/keuin/kbackupfabric/operation/abstracts/i/Invokable.java5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/operation/abstracts/i/Blocking.java b/src/main/java/com/keuin/kbackupfabric/operation/abstracts/i/Blocking.java
new file mode 100644
index 0000000..ba1b003
--- /dev/null
+++ b/src/main/java/com/keuin/kbackupfabric/operation/abstracts/i/Blocking.java
@@ -0,0 +1,5 @@
+package com.keuin.kbackupfabric.operation.abstracts.i;
+
+public interface Blocking {
+ boolean isBlocked();
+}
diff --git a/src/main/java/com/keuin/kbackupfabric/operation/abstracts/i/Invokable.java b/src/main/java/com/keuin/kbackupfabric/operation/abstracts/i/Invokable.java
new file mode 100644
index 0000000..74051e3
--- /dev/null
+++ b/src/main/java/com/keuin/kbackupfabric/operation/abstracts/i/Invokable.java
@@ -0,0 +1,5 @@
+package com.keuin.kbackupfabric.operation.abstracts.i;
+
+public interface Invokable {
+ boolean invoke();
+}