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 Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Phase 3 of the fluent builder: Permits assignment of non-critical metadata and executes the terminal registration.
    static interface 
    Resolves the generic self-referential boundary of IOptionalStep.
    static interface 
    Phase 1 of the fluent builder: Determines the network and lifecycle scope of the property.
    static interface 
    Phase 2 of the fluent builder: Determines the fundamental data type, baseline state, and validation bounds.
  • Method Summary

    Modifier and Type
    Method
    Description
    define(String resourceName)
    Initiates the fluent builder sequence to construct and bind a new property to this group.
    id()
    Retrieves the structural identifier of the group.
    boolean
    Evaluates the active state of the group's registry.
    Retrieves the configuration manager authoritative over this group.
    Retrieves the parent category bounding this group.
    void
    remove(Property<?> property)
    Severs 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

      void remove(Property<?> property)
      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

      Group.IScopeStep define(String resourceName)
      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.