Index

A B C D E F G H I L M N O P R S T U V 
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 AlreadyInitializedException with the given message.

B

build() - Method in class ovh.mythmc.gestalt.features.FeatureConstructorParams.FeatureConstructorParamsBuilder
Builds and returns a FeatureConstructorParams with the configured values.
build() - Method in class ovh.mythmc.gestalt.features.GestaltFeature.GestaltFeatureBuilder
Builds and returns a GestaltFeature with the configured values.
builder() - Static method in class ovh.mythmc.gestalt.features.FeatureConstructorParams
builder() - Static method in class ovh.mythmc.gestalt.features.GestaltFeature

C

call(Class<?>, FeatureEvent) - Method in class ovh.mythmc.gestalt.features.FeatureListenerRegistry
Dispatches the given FeatureEvent to 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 FeaturePriority order.
disableAllFeatures(String) - Method in class ovh.mythmc.gestalt.Gestalt
Disables all registered features belonging to the specified group, respecting their FeaturePriority order.
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 FeaturePriority order.
enableAllFeatures(String) - Method in class ovh.mythmc.gestalt.Gestalt
Enables all registered features belonging to the specified group, respecting their FeaturePriority order.
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 return true for the feature to be enabled.
FeatureConditionProcessor - Class in ovh.mythmc.gestalt.annotations.conditions
Evaluates whether a
invalid reference
Feature
-annotated class satisfies all conditions required to be enabled.
FeatureConditionProcessor(Gestalt) - Constructor for class ovh.mythmc.gestalt.annotations.conditions.FeatureConditionProcessor
Constructs a new FeatureConditionProcessor for the given Gestalt instance.
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
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 via Gestalt.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 via Gestalt.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
Marks a method on a Feature-annotated class to be invoked when the feature is first registered with Gestalt.
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 FeatureListener declarations on a single method.
FeatureListenerProcessor - Class in ovh.mythmc.gestalt.annotations
Processes FeatureListener annotations and dispatches feature lifecycle events to the appropriate listener methods.
FeatureListenerProcessor(Gestalt) - Constructor for class ovh.mythmc.gestalt.annotations.FeatureListenerProcessor
Constructs a new FeatureListenerProcessor for the given Gestalt instance.
FeatureListenerRegistry - Class in ovh.mythmc.gestalt.features
Manages the registry of listener objects that receive FeatureEvent notifications.
FeatureListenerRegistry(Gestalt) - Constructor for class ovh.mythmc.gestalt.features.FeatureListenerRegistry
Constructs a new FeatureListenerRegistry for the given Gestalt instance.
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 via Gestalt.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 Gestalt instance.
GestaltSupplier() - Constructor for class ovh.mythmc.gestalt.GestaltSupplier
 
get() - Static method in class ovh.mythmc.gestalt.Gestalt
Returns the globally active Gestalt instance.
get() - Static method in class ovh.mythmc.gestalt.GestaltSupplier
Returns the active Gestalt instance.
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 FeatureConditionProcessor responsible 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 null if the feature uses a no-arg constructor.
getConstructorParamsRegistry() - Method in class ovh.mythmc.gestalt.Gestalt
Returns the FeatureConstructorParamsRegistry used 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 FeatureListenerProcessor responsible for processing and invoking methods annotated with FeatureListener.
getListenerRegistry() - Method in class ovh.mythmc.gestalt.Gestalt
Returns the FeatureListenerRegistry used 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 FeatureListener annotation.
getParameters(Class<?>) - Method in class ovh.mythmc.gestalt.features.FeatureConstructorParamsRegistry
Returns the constructor parameters registered for the specified class, or null if 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 null if 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, from FeaturePriority.HIGHEST to FeaturePriority.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.ENABLE for 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 GestaltFeature wrapper.

S

set(Gestalt) - Static method in class ovh.mythmc.gestalt.GestaltSupplier
Sets the active Gestalt instance.
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.
A B C D E F G H I L M N O P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form