Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AlreadyInitializedException - Exception Class in ovh.mythmc.gestalt.exceptions
-
Thrown when an attempt is made to initialize a Gestalt instance that has already been set.
- AlreadyInitializedException(String) - Constructor for exception class ovh.mythmc.gestalt.exceptions.AlreadyInitializedException
-
Constructs a new
AlreadyInitializedExceptionwith the given message.
B
- build() - Method in class ovh.mythmc.gestalt.features.FeatureConstructorParams.FeatureConstructorParamsBuilder
-
Builds and returns a
FeatureConstructorParamswith the configured values. - build() - Method in class ovh.mythmc.gestalt.features.GestaltFeature.GestaltFeatureBuilder
-
Builds and returns a
GestaltFeaturewith the configured values. - builder() - Static method in class ovh.mythmc.gestalt.features.FeatureConstructorParams
-
Returns a new
FeatureConstructorParams.FeatureConstructorParamsBuilderfor constructing aFeatureConstructorParamsinstance. - builder() - Static method in class ovh.mythmc.gestalt.features.GestaltFeature
-
Returns a new
GestaltFeature.GestaltFeatureBuilderfor creating aGestaltFeature.
C
- call(Class<?>, FeatureEvent) - Method in class ovh.mythmc.gestalt.features.FeatureListenerRegistry
-
Dispatches the given
FeatureEventto all listener objects registered for the specified feature class. - call(Object, Class<?>, FeatureEvent) - Method in class ovh.mythmc.gestalt.annotations.FeatureListenerProcessor
-
Invokes all
FeatureListener-annotated methods on the given instance that are listening to the specified feature class and event. - canBeEnabled(Class<?>) - Method in class ovh.mythmc.gestalt.annotations.conditions.FeatureConditionProcessor
-
Determines whether the given feature class satisfies all conditions required to be enabled.
- constructorParams(FeatureConstructorParams) - Method in class ovh.mythmc.gestalt.features.GestaltFeature.GestaltFeatureBuilder
-
Sets the optional constructor parameters for the feature class.
D
- DISABLE - Enum constant in enum class ovh.mythmc.gestalt.features.FeatureEvent
-
Fired when a feature transitions from enabled to disabled.
- disableAllFeatures() - Method in class ovh.mythmc.gestalt.Gestalt
-
Disables all registered features, respecting their
FeaturePriorityorder. - disableAllFeatures(String) - Method in class ovh.mythmc.gestalt.Gestalt
-
Disables all registered features belonging to the specified group, respecting their
FeaturePriorityorder. - disableFeature(Class<?>) - Method in class ovh.mythmc.gestalt.Gestalt
-
Disables a single registered feature class.
E
- ENABLE - Enum constant in enum class ovh.mythmc.gestalt.features.FeatureEvent
-
Fired when a feature transitions from disabled to enabled.
- enableAllFeatures() - Method in class ovh.mythmc.gestalt.Gestalt
-
Enables all registered features, respecting their
FeaturePriorityorder. - enableAllFeatures(String) - Method in class ovh.mythmc.gestalt.Gestalt
-
Enables all registered features belonging to the specified group, respecting their
FeaturePriorityorder. - enableFeature(Class<?>) - Method in class ovh.mythmc.gestalt.Gestalt
-
Enables a single registered feature class.
- events() - Element in annotation interface ovh.mythmc.gestalt.annotations.FeatureListener
-
The lifecycle events this listener should respond to.
F
- feature() - Element in annotation interface ovh.mythmc.gestalt.annotations.FeatureListener
-
The specific feature class to listen to.
- Feature - Annotation Interface in ovh.mythmc.gestalt.annotations
-
Marks a class as a Gestalt-managed feature.
- featureClass(Class<?>) - Method in class ovh.mythmc.gestalt.features.GestaltFeature.GestaltFeatureBuilder
-
Sets the feature class for this descriptor.
- FeatureConditionBoolean - Annotation Interface in ovh.mythmc.gestalt.annotations.conditions
-
Marks a method on a
Feature-annotated class as a boolean condition that must returntruefor the feature to be enabled. - FeatureConditionProcessor - Class in ovh.mythmc.gestalt.annotations.conditions
-
Evaluates whether a-annotated class satisfies all conditions required to be enabled.
invalid reference
Feature - FeatureConditionProcessor(Gestalt) - Constructor for class ovh.mythmc.gestalt.annotations.conditions.FeatureConditionProcessor
-
Constructs a new
FeatureConditionProcessorfor the givenGestaltinstance. - FeatureConditionVersion - Annotation Interface in ovh.mythmc.gestalt.annotations.conditions
-
Restricts a
Feature-annotated class to specific server versions. - FeatureConstructorParams - Class in ovh.mythmc.gestalt.features
-
Holds the constructor parameter values and their types for a feature class that cannot be instantiated with a no-arg constructor.
- FeatureConstructorParams.FeatureConstructorParamsBuilder - Class in ovh.mythmc.gestalt.features
-
Builder for
FeatureConstructorParams. - FeatureConstructorParamsRegistry - Class in ovh.mythmc.gestalt.features
-
Stores custom constructor parameters for
Feature-annotated classes that cannot be instantiated with a no-arg constructor. - FeatureConstructorParamsRegistry() - Constructor for class ovh.mythmc.gestalt.features.FeatureConstructorParamsRegistry
- FeatureDisable - Annotation Interface in ovh.mythmc.gestalt.annotations.status
-
Marks a method on a
Feature-annotated class to be invoked when the feature is disabled viaGestalt.disableFeature(Class). - FeatureEnable - Annotation Interface in ovh.mythmc.gestalt.annotations.status
-
Marks a method on a
Feature-annotated class to be invoked when the feature is enabled viaGestalt.enableFeature(Class). - FeatureEvent - Enum Class in ovh.mythmc.gestalt.features
-
Represents the lifecycle events that can be fired for a registered
Feature-annotated class. - FeatureInitialize - Annotation Interface in ovh.mythmc.gestalt.annotations.status
- FeatureListener - Annotation Interface in ovh.mythmc.gestalt.annotations
-
Marks a method as a listener for one or more
FeatureEvents fired by a specific feature. - FeatureListener.List - Annotation Interface in ovh.mythmc.gestalt.annotations
-
Container annotation for repeatable
FeatureListenerdeclarations on a single method. - FeatureListenerProcessor - Class in ovh.mythmc.gestalt.annotations
-
Processes
FeatureListenerannotations and dispatches feature lifecycle events to the appropriate listener methods. - FeatureListenerProcessor(Gestalt) - Constructor for class ovh.mythmc.gestalt.annotations.FeatureListenerProcessor
-
Constructs a new
FeatureListenerProcessorfor the givenGestaltinstance. - FeatureListenerRegistry - Class in ovh.mythmc.gestalt.features
-
Manages the registry of listener objects that receive
FeatureEventnotifications. - FeatureListenerRegistry(Gestalt) - Constructor for class ovh.mythmc.gestalt.features.FeatureListenerRegistry
-
Constructs a new
FeatureListenerRegistryfor the givenGestaltinstance. - FeaturePriority - Enum Class in ovh.mythmc.gestalt.features
-
Defines the execution priority of a
Feature-annotated class. - FeatureShutdown - Annotation Interface in ovh.mythmc.gestalt.annotations.status
-
Marks a method on a
Feature-annotated class to be invoked when the feature is unregistered viaGestalt.unregister(Class[]).
G
- Gestalt - Class in ovh.mythmc.gestalt
-
The core abstract class of the Gestalt feature management framework.
- Gestalt(String) - Constructor for class ovh.mythmc.gestalt.Gestalt
-
Constructs a new Gestalt instance with the given server version and auto-update flag.
- GestaltFeature - Class in ovh.mythmc.gestalt.features
-
A descriptor that bundles a
Feature-annotated class with optional custom constructor parameters used during instantiation. - GestaltFeature.GestaltFeatureBuilder - Class in ovh.mythmc.gestalt.features
-
Builder for
GestaltFeature. - GestaltSupplier - Class in ovh.mythmc.gestalt
-
Static holder for the active
Gestaltinstance. - GestaltSupplier() - Constructor for class ovh.mythmc.gestalt.GestaltSupplier
- get() - Static method in class ovh.mythmc.gestalt.Gestalt
-
Returns the globally active
Gestaltinstance. - get() - Static method in class ovh.mythmc.gestalt.GestaltSupplier
-
Returns the active
Gestaltinstance. - getByGroup(String) - Method in class ovh.mythmc.gestalt.Gestalt
-
Returns all registered feature classes belonging to the given group (case-insensitive).
- getByGroupAndIdentifier(String, String) - Method in class ovh.mythmc.gestalt.Gestalt
-
Returns all registered feature classes matching both the given group and identifier (case-insensitive), sorted by
FeaturePriority. - getByIdentifier(String) - Method in class ovh.mythmc.gestalt.Gestalt
-
Returns all registered feature classes with the given identifier (case-insensitive).
- getByPriority(FeaturePriority) - Method in class ovh.mythmc.gestalt.Gestalt
-
Returns all registered feature classes with the given
FeaturePriority. - getConditionProcessor() - Method in class ovh.mythmc.gestalt.Gestalt
-
Returns the
FeatureConditionProcessorresponsible for evaluating whether a feature's conditions are satisfied before enabling it. - getConstructorParams() - Method in class ovh.mythmc.gestalt.features.GestaltFeature
-
Returns the optional constructor parameters to use when instantiating the feature class, or
nullif the feature uses a no-arg constructor. - getConstructorParamsRegistry() - Method in class ovh.mythmc.gestalt.Gestalt
-
Returns the
FeatureConstructorParamsRegistryused to store custom constructor parameters for feature instantiation. - getDisabledClasses() - Method in class ovh.mythmc.gestalt.Gestalt
-
Returns all currently disabled (but registered) feature classes.
- getEnabledClasses() - Method in class ovh.mythmc.gestalt.Gestalt
-
Returns all currently enabled feature classes.
- getFeatureClass() - Method in class ovh.mythmc.gestalt.features.GestaltFeature
-
Returns the feature class described by this descriptor.
- getInstances(Class<?>) - Method in class ovh.mythmc.gestalt.features.FeatureListenerRegistry
-
Returns all registered listener objects that listen to the given feature class.
- getInstances(String) - Method in class ovh.mythmc.gestalt.features.FeatureListenerRegistry
-
Returns all registered listener objects that listen to the feature identified by the given class name.
- getListenerProcessor() - Method in class ovh.mythmc.gestalt.Gestalt
-
Returns the
FeatureListenerProcessorresponsible for processing and invoking methods annotated withFeatureListener. - getListenerRegistry() - Method in class ovh.mythmc.gestalt.Gestalt
-
Returns the
FeatureListenerRegistryused to register and dispatch feature lifecycle events to listener objects. - getListeners(Class<?>) - Method in class ovh.mythmc.gestalt.annotations.FeatureListenerProcessor
-
Returns all feature classes that any method in the given class listens to.
- getMethodListeners(Method) - Method in class ovh.mythmc.gestalt.annotations.FeatureListenerProcessor
-
Returns the list of feature classes that the given method listens to, based on its
FeatureListenerannotation. - getParameters(Class<?>) - Method in class ovh.mythmc.gestalt.features.FeatureConstructorParamsRegistry
-
Returns the constructor parameters registered for the specified class, or
nullif none have been registered. - getParameters(String) - Method in class ovh.mythmc.gestalt.features.FeatureConstructorParamsRegistry
-
Returns the constructor parameters registered for the specified class name, or
nullif none have been registered. - getParams() - Method in class ovh.mythmc.gestalt.features.FeatureConstructorParams
-
Returns the constructor argument values.
- getParamTypes() - Method in class ovh.mythmc.gestalt.features.FeatureConstructorParams
-
Returns the types of the constructor parameters, used to resolve the correct constructor via reflection.
- getServerVersion() - Method in class ovh.mythmc.gestalt.Gestalt
-
Returns the server version string used for version-based feature conditions.
- getSortedByPriority() - Method in class ovh.mythmc.gestalt.Gestalt
-
Returns all registered feature classes sorted by their
FeaturePriority, fromFeaturePriority.HIGHESTtoFeaturePriority.LOWEST. - group() - Element in annotation interface ovh.mythmc.gestalt.annotations.Feature
-
The group this feature belongs to.
- group() - Element in annotation interface ovh.mythmc.gestalt.annotations.FeatureListener
-
The group of the target feature.
H
- hasListeners(Class<?>) - Method in class ovh.mythmc.gestalt.annotations.FeatureListenerProcessor
-
Returns whether the given class has any
FeatureListener-annotated methods. - hasListeners(Class<?>) - Method in class ovh.mythmc.gestalt.features.FeatureListenerRegistry
-
Returns whether any listener is registered for the given feature class.
- hasListeners(String) - Method in class ovh.mythmc.gestalt.features.FeatureListenerRegistry
-
Returns whether any listener is registered for the feature identified by the given class name.
- HIGH - Enum constant in enum class ovh.mythmc.gestalt.features.FeaturePriority
-
High priority; processed second.
- HIGHEST - Enum constant in enum class ovh.mythmc.gestalt.features.FeaturePriority
-
Highest priority; processed before all others.
I
- identifier() - Element in annotation interface ovh.mythmc.gestalt.annotations.Feature
-
A unique identifier for this feature within its group.
- identifier() - Element in annotation interface ovh.mythmc.gestalt.annotations.FeatureListener
-
The identifier of the target feature.
- INITIALIZE - Enum constant in enum class ovh.mythmc.gestalt.features.FeatureEvent
-
Fired when a feature class is first registered with Gestalt.
- invoke(Gestalt, Class<?>, Method) - Static method in class ovh.mythmc.gestalt.util.MethodUtil
-
Reflectively invokes the given method on the cached instance of the specified feature class.
- isEnabled(Class<?>) - Method in class ovh.mythmc.gestalt.Gestalt
-
Returns whether the given feature class is currently enabled.
- isRegistered(Object) - Method in class ovh.mythmc.gestalt.features.FeatureListenerRegistry
-
Returns whether the given object is currently registered as a listener.
L
- LOW - Enum constant in enum class ovh.mythmc.gestalt.features.FeaturePriority
-
Low priority; processed fourth.
- LOWEST - Enum constant in enum class ovh.mythmc.gestalt.features.FeaturePriority
-
Lowest priority; processed last.
M
- MethodUtil - Class in ovh.mythmc.gestalt.util
-
Utility class for reflectively invoking methods on feature class instances.
N
- NORMAL - Enum constant in enum class ovh.mythmc.gestalt.features.FeaturePriority
-
Default priority.
O
- ovh.mythmc.gestalt - package ovh.mythmc.gestalt
- ovh.mythmc.gestalt.annotations - package ovh.mythmc.gestalt.annotations
- ovh.mythmc.gestalt.annotations.conditions - package ovh.mythmc.gestalt.annotations.conditions
- ovh.mythmc.gestalt.annotations.status - package ovh.mythmc.gestalt.annotations.status
- ovh.mythmc.gestalt.exceptions - package ovh.mythmc.gestalt.exceptions
- ovh.mythmc.gestalt.features - package ovh.mythmc.gestalt.features
- ovh.mythmc.gestalt.util - package ovh.mythmc.gestalt.util
P
- params(Object...) - Method in class ovh.mythmc.gestalt.features.FeatureConstructorParams.FeatureConstructorParamsBuilder
-
Sets the constructor argument values.
- priority() - Element in annotation interface ovh.mythmc.gestalt.annotations.Feature
-
The priority that determines the order in which this feature is enabled or disabled.
R
- register(Class<?>...) - Method in class ovh.mythmc.gestalt.Gestalt
-
Registers one or more feature classes with Gestalt.
- register(Class<?>, FeatureConstructorParams) - Method in class ovh.mythmc.gestalt.features.FeatureConstructorParamsRegistry
-
Associates the given constructor parameters with the specified class.
- register(Object) - Method in class ovh.mythmc.gestalt.features.FeatureListenerRegistry
-
Registers a listener object to receive feature lifecycle events.
- register(Object, boolean) - Method in class ovh.mythmc.gestalt.features.FeatureListenerRegistry
-
Registers a listener object and optionally immediately dispatches
FeatureEvent.ENABLEfor all currently enabled features. - register(String, FeatureConstructorParams) - Method in class ovh.mythmc.gestalt.features.FeatureConstructorParamsRegistry
-
Associates the given constructor parameters with the specified class name.
- register(GestaltFeature) - Method in class ovh.mythmc.gestalt.Gestalt
-
Registers a feature described by a
GestaltFeaturewrapper.
S
- set(Gestalt) - Static method in class ovh.mythmc.gestalt.GestaltSupplier
-
Sets the active
Gestaltinstance. - SHUTDOWN - Enum constant in enum class ovh.mythmc.gestalt.features.FeatureEvent
-
Fired when a feature class is unregistered from Gestalt.
T
- triggerAnnotatedMethod(Gestalt, Class<?>, Class<? extends Annotation>) - Static method in class ovh.mythmc.gestalt.util.MethodUtil
-
Invokes all methods on the given feature class that are annotated with the specified lifecycle annotation.
- types(Class<?>...) - Method in class ovh.mythmc.gestalt.features.FeatureConstructorParams.FeatureConstructorParamsBuilder
-
Sets the constructor parameter types.
U
- unregister(Class<?>) - Method in class ovh.mythmc.gestalt.features.FeatureConstructorParamsRegistry
-
Removes the constructor parameters associated with the specified class.
- unregister(Class<?>...) - Method in class ovh.mythmc.gestalt.Gestalt
-
Unregisters one or more feature classes from Gestalt.
- unregister(Object) - Method in class ovh.mythmc.gestalt.features.FeatureListenerRegistry
-
Unregisters a listener object so it no longer receives feature lifecycle events.
- unregister(String) - Method in class ovh.mythmc.gestalt.features.FeatureConstructorParamsRegistry
-
Removes the constructor parameters associated with the specified class name.
- unregisterAllFeatures() - Method in class ovh.mythmc.gestalt.Gestalt
-
Unregisters all currently registered feature classes.
- unregisterAllListeners(Class<?>) - Method in class ovh.mythmc.gestalt.features.FeatureListenerRegistry
-
Unregisters all listener objects that are instances of the specified class.
- unregisterAllListeners(String) - Method in class ovh.mythmc.gestalt.features.FeatureListenerRegistry
-
Unregisters all listener objects associated with the specified class name.
V
- value() - Element in annotation interface ovh.mythmc.gestalt.annotations.FeatureListener.List
- valueOf(String) - Static method in enum class ovh.mythmc.gestalt.features.FeatureEvent
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class ovh.mythmc.gestalt.features.FeaturePriority
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class ovh.mythmc.gestalt.features.FeatureEvent
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class ovh.mythmc.gestalt.features.FeaturePriority
-
Returns an array containing the constants of this enum class, in the order they are declared.
- versions() - Element in annotation interface ovh.mythmc.gestalt.annotations.conditions.FeatureConditionVersion
-
The server version prefixes that allow this feature to be enabled.
All Classes and Interfaces|All Packages|Serialized Form