Interface CurvedSpacetimeCLIModuleDependentModuleInitializer
- All Superinterfaces:
ModuleDependentModuleInitializer<CurvedSpacetimeCLIModuleEntrypoint>
public interface CurvedSpacetimeCLIModuleDependentModuleInitializer
extends ModuleDependentModuleInitializer<CurvedSpacetimeCLIModuleEntrypoint>
The entrypoint a module registers to depend on the CLI module.
Registered under the CLI module's dependent entrypoint name. Implementations transfer the received entrypoint into
their own module's dependency queue, as described on ModuleDependentModuleInitializer.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonInitialize(CurvedSpacetimeCLIModuleEntrypoint cliModuleEntrypoint, Engine engine) Receives the CLI module's entrypoint.
-
Method Details
-
onInitialize
Receives the CLI module's entrypoint.Called on the CLI module's initialization thread, not the receiving module's.
- Specified by:
onInitializein interfaceModuleDependentModuleInitializer<CurvedSpacetimeCLIModuleEntrypoint>- Parameters:
cliModuleEntrypoint- the CLI module's main entrypointengine- the engine driving initialization
-