Interface ModuleManager
public interface ModuleManager
Manages how modules are installed, restarted, and removed from Ignition
-
Method Summary
Modifier and TypeMethodDescriptionReturns what kind of demo state the system is currently in with relation to which modules are installed, which are licensed, and which are in demo mode.Collection<? extends ExtensionPoint<?>>
Find all extension points from running modules for the given resource type.Returns a list of all modules that have Gateway-scope hooksFinds a module with the given id string.int
The total count of modules currently installedReturns a list of all modules.getVersionHash
(int scope) Retrieve the current hash for a given scope.Class<?>
resolveClass
(String className) Loops through each module's classloader, giving it a chance to resolve the given class.
-
Method Details
-
getGatewayModules
List<GatewayModule> getGatewayModules()Returns a list of all modules that have Gateway-scope hooks -
getExtensionPoints
Find all extension points from running modules for the given resource type. -
getModuleCount
int getModuleCount()The total count of modules currently installed -
getModules
List<GatewayModule> getModules()Returns a list of all modules. Note that this list will include disabled and inactive modules. To simply get a list of active modules, usegetActiveModules()
-
getActiveModules
List<ModuleInfo> getActiveModules()- Returns:
- a list of ModuleInfo objects, one for each module that is currently active in the gateway. Disabled and inactive modules will not be included in this list.
-
getModule
Finds a module with the given id string. Case-sensitive. Will return null if the module is not found. -
resolveClass
Loops through each module's classloader, giving it a chance to resolve the given class. -
getVersionHash
Retrieve the current hash for a given scope.- See Also:
-
getDemoCountdownState
DemoCountdownState getDemoCountdownState()Returns what kind of demo state the system is currently in with relation to which modules are installed, which are licensed, and which are in demo mode.
-