Push a model for module type - DEV
This commit is contained in:
@@ -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();
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user