2018-09-17 10:07:32 +03:00
|
|
|
package ru.gravit.launchserver.modules;
|
|
|
|
|
2018-09-22 17:22:39 +03:00
|
|
|
import ru.gravit.utils.Version;
|
2018-09-17 10:07:32 +03:00
|
|
|
import ru.gravit.launcher.modules.Module;
|
|
|
|
import ru.gravit.launcher.modules.ModuleContext;
|
|
|
|
|
|
|
|
public class SimpleModule implements Module {
|
|
|
|
@Override
|
|
|
|
public void close() {
|
|
|
|
// on stop
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getName() {
|
|
|
|
return "SimpleModule";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2018-09-22 17:22:39 +03:00
|
|
|
public Version getVersion() {
|
|
|
|
return new Version(1,0,0,0, Version.Type.UNKNOWN);
|
2018-09-17 13:14:59 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getPriority() {
|
|
|
|
return 0;
|
2018-09-17 10:07:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void init(ModuleContext context) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void postInit(ModuleContext context) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void preInit(ModuleContext context) {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|