Uses of Class
dev.ua.theroer.magicutils.bootstrap.MagicRuntime
Packages that use MagicRuntime
Package
Description
-
Uses of MagicRuntime in dev.ua.theroer.magicutils.bootstrap
Methods in dev.ua.theroer.magicutils.bootstrap that return MagicRuntimeModifier and TypeMethodDescriptionMagicRuntime.Builder.build()Builds a runtime instance.Registers a shutdown action.MagicRuntime.onStateChanged(Runnable listener) Registers a listener that is invoked whenever runtime component state changes.Methods in dev.ua.theroer.magicutils.bootstrap with parameters of type MagicRuntimeModifier and TypeMethodDescriptionvoidLanguageBootstrap.bindClientLocaleSync(MagicRuntime runtime, Platform platform, LanguageManager languageManager) Binds client-locale synchronization on the runtime when enabled.voidLanguageBootstrap.installMessagesCloseHooks(MagicRuntime runtime, String scope, LanguageManager languageManager) Installs the messages-related close hooks on the runtime when the corresponding flags are enabled.MagicUtilsConsumerViews.liveView(MagicRuntime runtime, IntSupplier rootCommandCount, BooleanSupplier diagnosticsEnabled) Live view backed byruntime.static StringMagicUtilsConsumerPayloads.platformTypeLabel(MagicRuntime runtime) Human-readable adapter label derived from the runtime's platform class.MagicUtilsConsumerPayloads.runtimePayload(MagicRuntime runtime, String pluginName, String version, String mainClass, @Nullable String description, @Nullable String website, List<String> authors, boolean commandsEnabled, @Nullable String permissionPrefix, int rootCommandCount, boolean diagnosticsEnabled, Instant connectedAt) Assembles the registry payload for a consumer runtime. -
Uses of MagicRuntime in dev.ua.theroer.magicutils.diagnostics
Methods in dev.ua.theroer.magicutils.diagnostics that return MagicRuntimeModifier and TypeMethodDescriptionDiagnosticContext.runtime()Managed MagicUtils runtime.DiagnosticsService.runtime()Returns the runtime bound to this service.Methods in dev.ua.theroer.magicutils.diagnostics with parameters of type MagicRuntimeModifier and TypeMethodDescriptionstatic PathDiagnosticReports.defaultExportPath(MagicRuntime runtime) Default JSON export path for a runtime.static DiagnosticsServiceDiagnosticsSupport.install(MagicRuntime runtime) Installs the default diagnostics service and built-in checks into a runtime.static DiagnosticsServiceDiagnosticsSupport.install(MagicRuntime runtime, @Nullable Consumer<DiagnosticRegistry> registryConfigurer) Installs the default diagnostics service and lets callers register custom checks. -
Uses of MagicRuntime in dev.ua.theroer.magicutils.http
Methods in dev.ua.theroer.magicutils.http with parameters of type MagicRuntimeModifier and TypeMethodDescriptionstatic <C> MagicHttpClientProfile.Builder<C> MagicHttpClientProfile.builder(MagicRuntime runtime, String name, Class<C> configClass) Creates a profile builder.static <C> MagicWebSocketClientProfile.Builder<C> MagicWebSocketClientProfile.builder(MagicRuntime runtime, String name, Class<C> configClass) Creates a profile builder.