Package ovh.mythmc.gestalt.annotations
Annotation Interface Feature
Marks a class as a Gestalt-managed feature.
Classes annotated with @Feature can be registered with Gestalt
and participate in the full feature lifecycle: initialization, enabling, disabling, and shutdown.
This annotation is inherited, meaning subclasses of a @Feature-annotated class
are also considered features.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe group this feature belongs to.A unique identifier for this feature within its group. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe priority that determines the order in which this feature is enabled or disabled.
-
Element Details
-
group
String groupThe group this feature belongs to. Used to batch-enable or batch-disable related features.- Returns:
- the group name
-
identifier
String identifierA unique identifier for this feature within its group.- Returns:
- the feature identifier
-
priority
FeaturePriority priorityThe priority that determines the order in which this feature is enabled or disabled. Defaults toFeaturePriority.NORMAL.- Returns:
- the feature priority
- Default:
NORMAL
-