From 38f4cb0231a3706621ae0e01ed7dd7567f2c26a5 Mon Sep 17 00:00:00 2001 From: Xephi59 Date: Wed, 22 Jul 2015 21:47:08 +0200 Subject: [PATCH] Push a model for module type - DEV --- .../java/fr/xephi/authme/modules/Module.java | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/main/java/fr/xephi/authme/modules/Module.java diff --git a/src/main/java/fr/xephi/authme/modules/Module.java b/src/main/java/fr/xephi/authme/modules/Module.java new file mode 100644 index 000000000..779beb65e --- /dev/null +++ b/src/main/java/fr/xephi/authme/modules/Module.java @@ -0,0 +1,27 @@ +package fr.xephi.authme.modules; + +import fr.xephi.authme.AuthMe; + +public interface Module { + + public String getName(); + + public AuthMe getInstanceOfAuthMe(); + + public Module getInstance(); + + public enum ModuleType { + MANAGER, + MYSQL, + ACTIONS, + CONVERTERS, + EMAILS, + CUSTOM; + } + + public ModuleType getType(); + + public boolean load(); + + public boolean unload(); +}