Interface Group
- All Known Implementing Classes:
DefaultGroup
public interface Group
Defines a structural subdivision within a category.
Serves as the primary registration container for configuration properties via a fluent builder interface.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceGroup.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.static interfaceResolves the generic self-referential boundary of IOptionalStep.static interfacePhase 1 of the fluent builder: Determines the network and lifecycle scope of the property.static interfacePhase 2 of the fluent builder: Determines the fundamental data type, baseline state, and validation bounds. -
Method Summary
Modifier and TypeMethodDescriptionInitiates the fluent builder sequence to construct and bind a new property to this group.id()Retrieves the structural identifier of the group.booleanisEmpty()Evaluates the active state of the group's registry.manager()Retrieves the configuration manager authoritative over this group.parent()Retrieves the parent category bounding this group.voidSevers the structural bond between this group and the specified property.Retrieves the base localization key utilized for client-side GUI translation.
-
Method Details
-
parent
Category parent()Retrieves the parent category bounding this group.- Returns:
- The Category instance.
-
id
String id()Retrieves the structural identifier of the group.- Returns:
- The unique string identifier.
-
manager
ConfigManager manager()Retrieves the configuration manager authoritative over this group.- Returns:
- The ConfigManager instance.
-
translationKey
String translationKey()Retrieves the base localization key utilized for client-side GUI translation.- Returns:
- The formatted translation key string.
-
remove
Severs the structural bond between this group and the specified property.- Parameters:
property- The target property to remove.
-
isEmpty
boolean isEmpty()Evaluates the active state of the group's registry.- Returns:
- True if no properties are currently bound to this group.
-
define
Initiates the fluent builder sequence to construct and bind a new property to this group.- Parameters:
resourceName- The precise registry identifier for the intended property.- Returns:
- The initial scope resolution step of the builder.
-