Package johnsmith.configoverhauled.api
Interface Group.IOptionalStep<T,B extends Group.IOptionalStep<T,B>>
- Type Parameters:
T- The data type managed by the pending property.B- The self-referential builder implementation.
- All Known Subinterfaces:
Group.IPropertyBuilder<T>
- Enclosing interface:
Group
public static interface Group.IOptionalStep<T,B extends Group.IOptionalStep<T,B>>
Phase 3 of the fluent builder: Permits assignment of non-critical metadata and executes the terminal registration.
-
Method Summary
Modifier and TypeMethodDescriptionregister()Terminates the builder sequence, allocates the property instance, and binds it to the active ConfigManager.withComment(String comment) Injects a descriptive text sequence for disk serialization.withTranslationKey(String translationKey) Overrides the default localization key trajectory.
-
Method Details
-
withComment
Injects a descriptive text sequence for disk serialization.- Parameters:
comment- The documentation string.- Returns:
- The current builder sequence.
-
withTranslationKey
Overrides the default localization key trajectory.- Parameters:
translationKey- The specialized translation key.- Returns:
- The current builder sequence.
-
register
Terminates the builder sequence, allocates the property instance, and binds it to the active ConfigManager.- Returns:
- The constructed and synchronized Property instance.
-