Class ModulePostInstallDependencyEvent
java.lang.Object
eu.cloudnetservice.driver.event.Event
eu.cloudnetservice.driver.event.events.module.UnloadedModuleEvent
eu.cloudnetservice.driver.event.events.module.ModulePostInstallDependencyEvent
This event gets called after a dependency for a module has been loaded.
- Since:
- 4.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionModulePostInstallDependencyEvent(@NonNull ModuleProvider provider, @NonNull ModuleConfiguration configuration, @NonNull ModuleDependency dependency) Creates a new module installed dependency (post) event. -
Method Summary
Modifier and TypeMethodDescriptionGet the dependency which got loaded for the module.Methods inherited from class eu.cloudnetservice.driver.event.events.module.UnloadedModuleEvent
moduleConfiguration, moduleProvider
-
Field Details
-
moduleDependency
-
-
Constructor Details
-
ModulePostInstallDependencyEvent
public ModulePostInstallDependencyEvent(@NonNull @NonNull ModuleProvider provider, @NonNull @NonNull ModuleConfiguration configuration, @NonNull @NonNull ModuleDependency dependency) Creates a new module installed dependency (post) event.- Parameters:
provider- the module provider by which the module got loaded.configuration- the configuration of the module which got loaded as there is no instance yet created.dependency- the dependency which got loaded.- Throws:
NullPointerException- if the given provider, configuration or dependency is null.
-
-
Method Details
-
moduleDependency
Get the dependency which got loaded for the module.- Returns:
- the dependency which got loaded for the module.
-