mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-27 20:57:35 +01:00
Push a model for module type - DEV
This commit is contained in:
parent
b956f28fc0
commit
38f4cb0231
27
src/main/java/fr/xephi/authme/modules/Module.java
Normal file
27
src/main/java/fr/xephi/authme/modules/Module.java
Normal file
@ -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();
|
||||
}
|
Loading…
Reference in New Issue
Block a user