Package dev.aura.bungeechat.api.module
Class ModuleManager
- java.lang.Object
-
- dev.aura.bungeechat.api.module.ModuleManager
-
public class ModuleManager extends Object
-
-
Constructor Summary
Constructors Constructor Description ModuleManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclearActiveModules()static voiddisableModules()static voidenableModules()static List<BungeeChatModule>getActiveModules()static Stream<BungeeChatModule>getActiveModulesStream()static List<BungeeChatModule>getAvailableModules()static Stream<BungeeChatModule>getAvailableModulesStream()static booleanisModuleActive(BungeeChatModule module)static voidregisterModule(BungeeChatModule module)
-
-
-
Method Detail
-
registerModule
public static void registerModule(BungeeChatModule module) throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
getActiveModules
public static List<BungeeChatModule> getActiveModules() throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
isModuleActive
public static boolean isModuleActive(BungeeChatModule module) throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
getAvailableModulesStream
public static Stream<BungeeChatModule> getAvailableModulesStream() throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
getActiveModulesStream
public static Stream<BungeeChatModule> getActiveModulesStream() throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
enableModules
public static void enableModules() throws UnsupportedOperationException- Throws:
UnsupportedOperationException
-
disableModules
public static void disableModules() throws UnsupportedOperationException- Throws:
UnsupportedOperationException
-
clearActiveModules
public static void clearActiveModules() throws UnsupportedOperationException- Throws:
UnsupportedOperationException
-
getAvailableModules
public static List<BungeeChatModule> getAvailableModules()
-
-