Uses of Interface
eu.cloudnetservice.driver.module.ModuleWrapper
Packages that use ModuleWrapper
Package
Description
-
Uses of ModuleWrapper in eu.cloudnetservice.driver.event.events.module
Fields in eu.cloudnetservice.driver.event.events.module declared as ModuleWrapperMethods in eu.cloudnetservice.driver.event.events.module that return ModuleWrapperModifier and TypeMethodDescriptionModuleEvent.module()Get the module on which the action is currently taking place.Constructors in eu.cloudnetservice.driver.event.events.module with parameters of type ModuleWrapperModifierConstructorDescriptionModuleEvent(@NonNull ModuleProvider moduleProvider, @NonNull ModuleWrapper module) Constructs a new module event.ModulePostLoadEvent(@NonNull ModuleProvider moduleProvider, @NonNull ModuleWrapper module) Constructs a module post load event.ModulePostReloadEvent(@NonNull ModuleProvider moduleProvider, @NonNull ModuleWrapper module) Constructs a new module post reload event.ModulePostStartEvent(@NonNull ModuleProvider moduleProvider, @NonNull ModuleWrapper module) Constructs a new module post start event.ModulePostStopEvent(@NonNull ModuleProvider moduleProvider, @NonNull ModuleWrapper module) Constructs a new module post stop event.ModulePostUnloadEvent(@NonNull ModuleProvider moduleProvider, @NonNull ModuleWrapper module) Constructs a new module post unload event.ModulePreLoadEvent(@NonNull ModuleProvider moduleProvider, @NonNull ModuleWrapper module) Constructs a new pre load module event.ModulePreReloadEvent(@NonNull ModuleProvider moduleProvider, @NonNull ModuleWrapper module) Constructs a new module pre reload event.ModulePreStartEvent(@NonNull ModuleProvider moduleProvider, @NonNull ModuleWrapper module) Constructs a new module pre start event.ModulePreStopEvent(@NonNull ModuleProvider moduleProvider, @NonNull ModuleWrapper module) Constructs a new module pre stop event.ModulePreUnloadEvent(@NonNull ModuleProvider moduleProvider, @NonNull ModuleWrapper module) Constructs a new module pre unload event. -
Uses of ModuleWrapper in eu.cloudnetservice.driver.module
Classes in eu.cloudnetservice.driver.module that implement ModuleWrapperModifier and TypeClassDescriptionclassRepresents the default implementation of the module wrapper.Fields in eu.cloudnetservice.driver.module declared as ModuleWrapperModifier and TypeFieldDescriptionprotected ModuleWrapperDefaultModule.moduleWrapperprotected final ModuleWrapperDefaultModuleTaskEntry.moduleWrapperFields in eu.cloudnetservice.driver.module with type parameters of type ModuleWrapperModifier and TypeFieldDescriptionprotected final Collection<ModuleWrapper>DefaultModuleProvider.modulesMethods in eu.cloudnetservice.driver.module that return ModuleWrapperModifier and TypeMethodDescriptionDefaultModuleProvider.loadModule(@NonNull URL url) Loads a module from the given url.DefaultModuleProvider.loadModule(@NonNull Path path) Loads the module by the file provided by the given path.DefaultModuleWrapper.loadModule()Changes the lifecycle of this module toModuleLifeCycle.LOADEDif possible and fires all associated tasks.ModuleProvider.loadModule(@NonNull URL url) Loads a module from the given url.ModuleProvider.loadModule(@NonNull Path path) Loads the module by the file provided by the given path.ModuleWrapper.loadModule()Changes the lifecycle of this module toModuleLifeCycle.LOADEDif possible and fires all associated tasks.Get a module by the given name.Get a module by the given name.DefaultModule.moduleWrapper()Get the module wrapper which is associated with this module.DefaultModuleTaskEntry.moduleWrapper()The associated module wrapper this task was detected by.Module.moduleWrapper()Get the module wrapper which is associated with this module.ModuleTaskEntry.moduleWrapper()The associated module wrapper this task was detected by.DefaultModuleWrapper.reloadModule()Changes the lifecycle of this module toModuleLifeCycle.RELOADINGif possible and fires all associated tasks.ModuleWrapper.reloadModule()Changes the lifecycle of this module toModuleLifeCycle.RELOADINGif possible and fires all associated tasks.DefaultModuleWrapper.startModule()Changes the lifecycle of this module toModuleLifeCycle.STARTEDif possible and fires all associated tasks.ModuleWrapper.startModule()Changes the lifecycle of this module toModuleLifeCycle.STARTEDif possible and fires all associated tasks.DefaultModuleWrapper.stopModule()Changes the lifecycle of this module toModuleLifeCycle.STOPPEDif possible and fires all associated tasks.ModuleWrapper.stopModule()Changes the lifecycle of this module toModuleLifeCycle.STOPPEDif possible and fires all associated tasks.DefaultModuleWrapper.unloadModule()Changes the lifecycle of this module toModuleLifeCycle.UNLOADEDif possible and fires all associated tasks.ModuleWrapper.unloadModule()Changes the lifecycle of this module toModuleLifeCycle.UNLOADEDif possible and fires all associated tasks.Methods in eu.cloudnetservice.driver.module that return types with arguments of type ModuleWrapperModifier and TypeMethodDescriptionprotected @NonNull Optional<ModuleWrapper>DefaultModuleProvider.findModuleBySource(@NonNull URL fileSource) Finds a loaded module based on the given file source url.DefaultModuleProvider.modules()Get all loaded, started, stopped modules provided by this provider.Get all loaded, started, stopped modules provided by this provider which have the specific given group.ModuleProvider.modules()Get all loaded, started, stopped modules provided by this provider.Get all loaded, started, stopped modules provided by this provider which have the specific given group.Methods in eu.cloudnetservice.driver.module with parameters of type ModuleWrapperModifier and TypeMethodDescriptionvoidDefaultModuleProviderHandler.handlePostModuleLoad(@NonNull ModuleWrapper moduleWrapper) Called when a module was loaded.voidModuleProviderHandler.handlePostModuleLoad(@NonNull ModuleWrapper moduleWrapper) Called when a module was loaded.voidDefaultModuleProviderHandler.handlePostModuleReload(@NonNull ModuleWrapper moduleWrapper) Called when a module was reloaded.voidModuleProviderHandler.handlePostModuleReload(@NonNull ModuleWrapper moduleWrapper) Called when a module was reloaded.voidDefaultModuleProviderHandler.handlePostModuleStart(@NonNull ModuleWrapper moduleWrapper) Called when a module was started.voidModuleProviderHandler.handlePostModuleStart(@NonNull ModuleWrapper moduleWrapper) Called when a module was started.voidDefaultModuleProviderHandler.handlePostModuleStop(@NonNull ModuleWrapper moduleWrapper) Called when a module was stopped.voidModuleProviderHandler.handlePostModuleStop(@NonNull ModuleWrapper moduleWrapper) Called when a module was stopped.voidDefaultModuleProviderHandler.handlePostModuleUnload(@NonNull ModuleWrapper moduleWrapper) Called when a module was unloaded.voidModuleProviderHandler.handlePostModuleUnload(@NonNull ModuleWrapper moduleWrapper) Called when a module was unloaded.booleanDefaultModuleProviderHandler.handlePreModuleLoad(@NonNull ModuleWrapper moduleWrapper) Called when a module is about to get loaded.booleanModuleProviderHandler.handlePreModuleLoad(@NonNull ModuleWrapper moduleWrapper) Called when a module is about to get loaded.booleanDefaultModuleProviderHandler.handlePreModuleReload(@NonNull ModuleWrapper moduleWrapper) Called when a module is about to get reloaded.booleanModuleProviderHandler.handlePreModuleReload(@NonNull ModuleWrapper moduleWrapper) Called when a module is about to get reloaded.booleanDefaultModuleProviderHandler.handlePreModuleStart(@NonNull ModuleWrapper moduleWrapper) Called when a module is about to get started.booleanModuleProviderHandler.handlePreModuleStart(@NonNull ModuleWrapper moduleWrapper) Called when a module is about to get started.booleanDefaultModuleProviderHandler.handlePreModuleStop(@NonNull ModuleWrapper moduleWrapper) Called when a module is about to get stopped.booleanModuleProviderHandler.handlePreModuleStop(@NonNull ModuleWrapper moduleWrapper) Called when a module is about to get stopped.voidDefaultModuleProviderHandler.handlePreModuleUnload(@NonNull ModuleWrapper moduleWrapper) Called when a module is about to get unloaded.voidModuleProviderHandler.handlePreModuleUnload(@NonNull ModuleWrapper moduleWrapper) Called when a module is about to get unloaded.voidDefaultModule.init(@NonNull ClassLoader loader, @NonNull ModuleWrapper wrapper, @NonNull ModuleConfiguration config) Initializes the module with the necessary information.voidModule.init(@NonNull ClassLoader loader, @NonNull ModuleWrapper wrapper, @NonNull ModuleConfiguration config) Initializes the module with the necessary information.voidDefaultModuleProvider.notifyPostModuleLifecycleChange(@NonNull ModuleWrapper wrapper, @NonNull ModuleLifeCycle lifeCycle) Called by anModuleWrapperwhen the module changed its lifecycle state.voidModuleProvider.notifyPostModuleLifecycleChange(@NonNull ModuleWrapper wrapper, @NonNull ModuleLifeCycle lifeCycle) Called by anModuleWrapperwhen the module changed its lifecycle state.booleanDefaultModuleProvider.notifyPreModuleLifecycleChange(@NonNull ModuleWrapper wrapper, @NonNull ModuleLifeCycle lifeCycle) Called by anModuleWrapperwhen the module is about to change its lifecycle state.booleanModuleProvider.notifyPreModuleLifecycleChange(@NonNull ModuleWrapper wrapper, @NonNull ModuleLifeCycle lifeCycle) Called by anModuleWrapperwhen the module is about to change its lifecycle state.Constructors in eu.cloudnetservice.driver.module with parameters of type ModuleWrapperModifierConstructorDescriptionDefaultModuleTaskEntry(@NonNull ModuleWrapper wrapper, @NonNull ModuleTask task, @NonNull Method method) Constructs a new instance of this class.ModuleDependencyOutdatedException(@NonNull ModuleWrapper requiringModule, @NonNull ModuleDependency dependency, @NonNull String semverIndex, int required, int actual) Creates a new instance of this ModuleDependencyOutdatedException. -
Uses of ModuleWrapper in eu.cloudnetservice.driver.module.util
Methods in eu.cloudnetservice.driver.module.util that return ModuleWrapperModifier and TypeMethodDescriptionprivate static @NonNull ModuleWrapperModuleDependencyUtil.associatedModuleWrapper(@NonNull ModuleDependency dependency, @NonNull ModuleProvider provider, @NonNull ModuleWrapper dependencyHolder) Gets the associated module wrapper to a module dependency or throws an exception if the wrapper is not present.Methods in eu.cloudnetservice.driver.module.util that return types with arguments of type ModuleWrapperModifier and TypeMethodDescriptionstatic @NonNull Set<ModuleWrapper>ModuleDependencyUtil.collectDependencies(@NonNull ModuleWrapper caller, @NonNull ModuleProvider moduleProvider) Collects all first-level module dependencies of a module.Methods in eu.cloudnetservice.driver.module.util with parameters of type ModuleWrapperModifier and TypeMethodDescriptionprivate static @NonNull ModuleWrapperModuleDependencyUtil.associatedModuleWrapper(@NonNull ModuleDependency dependency, @NonNull ModuleProvider provider, @NonNull ModuleWrapper dependencyHolder) Gets the associated module wrapper to a module dependency or throws an exception if the wrapper is not present.private static voidModuleDependencyUtil.checkDependencyVersion(@NonNull ModuleWrapper requiringModule, @NonNull ModuleDependency dependency, @NonNull Matcher dependencyVersion, @NonNull Matcher moduleVersion) Validates that the dependency of the module is compatible with the actual running module.static @NonNull Set<ModuleWrapper>ModuleDependencyUtil.collectDependencies(@NonNull ModuleWrapper caller, @NonNull ModuleProvider moduleProvider) Collects all first-level module dependencies of a module.private static voidModuleDependencyUtil.visitDependencies(@NonNull Deque<ModuleWrapper> visitedNodes, @NonNull Collection<ModuleDependency> dependencies, @NonNull ModuleWrapper originalSource, @NonNull ModuleWrapper dependencyHolder, @NonNull ModuleProvider moduleProvider) Visits all dependencies of a module and ensures that there is no circular dependency to the root calling module.Method parameters in eu.cloudnetservice.driver.module.util with type arguments of type ModuleWrapperModifier and TypeMethodDescriptionprivate static voidModuleDependencyUtil.visitDependencies(@NonNull Deque<ModuleWrapper> visitedNodes, @NonNull Collection<ModuleDependency> dependencies, @NonNull ModuleWrapper originalSource, @NonNull ModuleWrapper dependencyHolder, @NonNull ModuleProvider moduleProvider) Visits all dependencies of a module and ensures that there is no circular dependency to the root calling module.