Class McpLocalizationContext.Builder
java.lang.Object
com.soklet.McpLocalizationContext.Builder
- Enclosing class:
McpLocalizationContext
Single-threaded builder for an immutable request-local context.
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an immutable localization context.revision(@Nullable McpLocalizationRevision revision) Sets the non-secret identity for the captured catalog snapshot.
-
Method Details
-
revision
Sets the non-secret identity for the captured catalog snapshot.- Parameters:
revision- immutable snapshot revision, or null to clear it- Returns:
- this builder
-
build
Builds an immutable localization context.- Returns:
- immutable request-local context
-