Package dev.boze.api.module
Class ModuleHelper
java.lang.Object
dev.boze.api.module.ModuleHelper
ModuleHelper provides a way to interact with Boze modules
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ModuleHelper
public ModuleHelper()
-
-
Method Details
-
getState
Get the state of a module- Parameters:
module
- The name of the module to get the state of- Returns:
- The state of the module
- Throws:
ModuleNotFoundException
- If the module is not found
-
setState
Set the state of a module- Parameters:
module
- The name of the module to set the state ofstate
- The state to set the module to- Throws:
ModuleNotFoundException
- If the module is not found
-