Package dev.boze.api.client
Class ModuleManager
java.lang.Object
dev.boze.api.client.ModuleManager
ModuleManager provides a way to interact with Boze modules
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AddonModulegetAddonModule(String name) static List<AddonModule> static ClientModulegetClientModule(String name) static List<ClientModule> static BaseModulestatic List<BaseModule> static booleanGet the state of a modulestatic voidSet the state of a module
-
Constructor Details
-
ModuleManager
public ModuleManager()
-
-
Method Details
-
getState
Get the state of a module- Parameters:
name- The name of the module to get the state of- Returns:
- The state of the module
- Throws:
ClientModuleNotFoundException- If the module is not found
-
setState
Set the state of a module- Parameters:
name- The name of the module to set the state ofstate- The state to set the module to- Throws:
ClientModuleNotFoundException- If the module is not found
-
getModule
- Parameters:
name- The name of the module to get- Returns:
- The module
-
getModules
- Returns:
- A list of all modules
-
getAddonModule
- Parameters:
name- The name of the addon module to get- Returns:
- The addon module
-
getAddonModules
- Returns:
- A list of all addon modules
-
getClientModule
- Parameters:
name- The name of the client module to get- Returns:
- The client module
-
getClientModules
- Returns:
- A list of all client modules
-