Interface Category

All Known Implementing Classes:
DefaultCategory

public interface Category
Represents a top-level structural classification within the configuration hierarchy. Organizes subsidiary property groups.
  • Method Summary

    Modifier and Type
    Method
    Description
    Allocates or retrieves a subsidiary structural group within this category.
    id()
    Retrieves the structural identifier of the category.
    boolean
    Evaluates the active state of the category's structural hierarchy.
    Retrieves the configuration manager authoritative over this category.
    void
    remove(Group group)
    Severs the structural bond between this category and the specified group.
    Retrieves the base localization key utilized for client-side GUI translation.
  • Method Details

    • id

      String id()
      Retrieves the structural identifier of the category.
      Returns:
      The unique string identifier.
    • manager

      ConfigManager manager()
      Retrieves the configuration manager authoritative over this category.
      Returns:
      The parent ConfigManager instance.
    • translationKey

      String translationKey()
      Retrieves the base localization key utilized for client-side GUI translation.
      Returns:
      The formatted translation key string.
    • define

      Group define(String id)
      Allocates or retrieves a subsidiary structural group within this category.
      Parameters:
      id - The target group identifier.
      Returns:
      The bound Group instance.
    • remove

      void remove(Group group)
      Severs the structural bond between this category and the specified group.
      Parameters:
      group - The target group to remove.
    • isEmpty

      boolean isEmpty()
      Evaluates the active state of the category's structural hierarchy.
      Returns:
      True if no subsidiary groups are registered.