Package dev.turboism.sdk.config
package dev.turboism.sdk.config
-
ClassDescriptionConfigCodec<T>Converts a typed config value to and from the string form stored in a
ConfigDocument.Factories for the bounded value types a plugin may store in typed configuration.A persisted config file as read from disk: a schema version plus the raw encoded values.A single config failure, reported alongside a fallback value rather than thrown.Classification of a config read or write failure.ConfigKey<T>Identifies one typed config entry within a registeredConfigSchema.Upgrades a persistedConfigDocumentacross exactly one schema version step.Thrown by aConfigMigrationthat cannot upgrade the document it was given.Outcome of a typed config read: always a usable value, plus the error that explains a fallback.Why a typed config schema registration was refused by the runtime.Unchecked failure ofPluginConfigRegistry.registerSchema(dev.turboism.sdk.config.ConfigSchema, java.util.List<dev.turboism.sdk.config.ConfigMigration>), carrying the refusal reason.Declares one typed config file: its identity, location, current version and keys.Explicit presentation metadata for exposing selected typed-config keys in the shared settings UI.String or enum key rendered as an explicitly-labelled choice.Presentation metadata common to each supported scalar settings control.One stored choice value and its localized display label.String or bounded-integer key rendered as a text field.Boolean key rendered as a toggle.Why a declaredConfigSchema(or its migration chain) is itself malformed.Unchecked failure raised when a schema or migration chain fails validation before registration.ConfigValue<T>A config value together with where it came from and the revision it was observed at.Where aConfigValuecame from: the store, or a default and the reason it was substituted.Outcome of a typed config write.Checked failure of an untyped string config operation, such as a rejected write.A plugin's access to its own configuration, both the untyped string API and the typed schema API.