Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractRemoteConfigurationProvider - Class in dev.voidframework.core.remoteconfiguration
-
This abstraction provides useful internal methods.
- AbstractRemoteConfigurationProvider() - Constructor for class dev.voidframework.core.remoteconfiguration.AbstractRemoteConfigurationProvider
- AlreadyRunning() - Constructor for exception dev.voidframework.core.exception.AppLauncherException.AlreadyRunning
-
Build a new instance.
- AND - Static variable in class dev.voidframework.core.constant.CharConstants
- AND - Static variable in class dev.voidframework.core.constant.StringConstants
- AnnotationMetadata - Class in dev.voidframework.core.conditionalfeature
-
Annotation metadata.
- AppLauncherException - Exception in dev.voidframework.core.exception
-
All exceptions thrown by the app launcher are subclasses of
AppLauncherException
. - AppLauncherException(String) - Constructor for exception dev.voidframework.core.exception.AppLauncherException
-
Build a new instance.
- AppLauncherException(String, Throwable) - Constructor for exception dev.voidframework.core.exception.AppLauncherException
-
Build a new instance.
- AppLauncherException.AlreadyRunning - Exception in dev.voidframework.core.exception
-
Exception indicates that application is already running.
- AppLauncherException.ModuleInitFailure - Exception in dev.voidframework.core.exception
-
Exception indicates that module initialization just fail.
- apply() - Method in class dev.voidframework.core.remoteconfiguration.FileCfgObject
-
Tries to save file.
- apply(StringBuilder) - Method in class dev.voidframework.core.remoteconfiguration.KeyValueCfgObject
-
Tries to add this configuration object into the application configuration.
- availableBytes(InputStream) - Static method in class dev.voidframework.core.utils.IOUtils
-
Retrieves the number of bytes available to be read.
B
- BACKSLASH - Static variable in class dev.voidframework.core.constant.CharConstants
- BACKSLASH - Static variable in class dev.voidframework.core.constant.StringConstants
- BadProvider(String, Throwable) - Constructor for exception dev.voidframework.core.exception.RemoteConfigurationException.BadProvider
-
Build a new instance.
- BadValue(String, String) - Constructor for exception dev.voidframework.core.exception.RemoteConfigurationException.BadValue
-
Build a new instance.
- BadValue(String, String, Throwable) - Constructor for exception dev.voidframework.core.exception.RemoteConfigurationException.BadValue
-
Build a new instance.
- Bindable - Annotation Interface in dev.voidframework.core.bindable
-
Indicates that an annotated class can be bind.
- bindableList() - Method in record class dev.voidframework.core.classestoload.ScannedClassesToLoad
-
Returns the value of the
bindableList
record component.
C
- callMethod(Object, String, Class<?>[], Object...) - Static method in class dev.voidframework.core.utils.ReflectionUtils
-
Calls a method.
- callMethod(Object, String, Class<T>, Class<?>[], Object...) - Static method in class dev.voidframework.core.utils.ReflectionUtils
-
Calls a method.
- canConvert(Class<S>, Class<T>) - Method in interface dev.voidframework.core.conversion.Conversion
-
Returns whether the given source type can be converted to the given target type.
- canConvert(Class<S>, Class<T>) - Method in class dev.voidframework.core.conversion.impl.DefaultConversion
- canConvert(Object, Class<T>) - Method in interface dev.voidframework.core.conversion.Conversion
-
Returns whether the given object can be converted to the given target type.
- canConvert(Object, Class<T>) - Method in class dev.voidframework.core.conversion.impl.DefaultConversion
- CARRIAGE_RETURN - Static variable in class dev.voidframework.core.constant.CharConstants
- CARRIAGE_RETURN - Static variable in class dev.voidframework.core.constant.StringConstants
- CARRIAGE_RETURN_LINE_FEED - Static variable in class dev.voidframework.core.constant.StringConstants
- CharConstants - Class in dev.voidframework.core.constant
-
Defines some character related constants.
- ClassesToLoadScanner - Class in dev.voidframework.core.classestoload
-
Classpath scanner to fin classes to load.
- ClasspathBootstrapGenerator - Class in dev.voidframework.core.classestoload.generator
-
Generates "classpath.bootstrap" file.
- ClasspathBootstrapGenerator() - Constructor for class dev.voidframework.core.classestoload.generator.ClasspathBootstrapGenerator
- ClasspathBootstrapGeneratorException - Exception in dev.voidframework.core.exception
-
All exceptions thrown by the "classpath.bootstrap" generator are subclasses of
ClasspathBootstrapGeneratorException
. - ClasspathBootstrapGeneratorException(String) - Constructor for exception dev.voidframework.core.exception.ClasspathBootstrapGeneratorException
-
Build a new instance.
- ClasspathBootstrapGeneratorException.MissingProgramArgument - Exception in dev.voidframework.core.exception
-
Exception indicates that provided program argument is missing.
- ClassResolverUtils - Class in dev.voidframework.core.utils
-
Utility methods to resolve classes.
- close() - Method in class dev.voidframework.core.remoteconfiguration.FileCfgObject
- closeWithoutException(Closeable) - Static method in class dev.voidframework.core.utils.IOUtils
-
Closes the given closeable without any exceptions.
- COLON - Static variable in class dev.voidframework.core.constant.CharConstants
- COLON - Static variable in class dev.voidframework.core.constant.StringConstants
- COMMA - Static variable in class dev.voidframework.core.constant.CharConstants
- COMMA - Static variable in class dev.voidframework.core.constant.StringConstants
- compareTo(CUID) - Method in class dev.voidframework.core.lang.CUID
- Condition - Interface in dev.voidframework.core.conditionalfeature.condition
-
A single condition to determine if feature must be enabled or not.
- ConditionalFeature - Annotation Interface in dev.voidframework.core.conditionalfeature
-
Indicates that the feature will only be loaded if the condition is met.
- ConditionalFeatureException - Exception in dev.voidframework.core.exception
-
All exceptions thrown by conditional feature are subclasses of
ConditionalFeatureException
. - ConditionalFeatureException(String, Throwable) - Constructor for exception dev.voidframework.core.exception.ConditionalFeatureException
-
Build a new instance.
- ConditionalFeatureException.ConditionInitFailure - Exception in dev.voidframework.core.exception
-
This exception indicate that condition cannot be instantiated.
- ConditionalFeatureVerifier - Class in dev.voidframework.core.conditionalfeature
-
Checks whether a feature should be activated or not.
- ConditionalFeatureVerifier(Config) - Constructor for class dev.voidframework.core.conditionalfeature.ConditionalFeatureVerifier
-
Build a new instance.
- ConditionInitFailure(Class<? extends Condition>, Throwable) - Constructor for exception dev.voidframework.core.exception.ConditionalFeatureException.ConditionInitFailure
-
Build a new instance.
- ConfigurationCondition - Class in dev.voidframework.core.conditionalfeature.condition
-
Indicates that the feature will only be loaded if the condition is met.
- ConfigurationCondition() - Constructor for class dev.voidframework.core.conditionalfeature.condition.ConfigurationCondition
- ConfigurationConditionalFeature - Annotation Interface in dev.voidframework.core.conditionalfeature
-
Indicates that the feature will only be loaded if, at least, one condition is met.
- Controller - Annotation Interface in dev.voidframework.core.bindable
-
Indicates that an annotated class is a "Controller".
- Conversion - Interface in dev.voidframework.core.conversion
-
Conversion from one type to another.
- ConversionException - Exception in dev.voidframework.core.exception
-
All exceptions thrown by the conversion features are subclasses of
ConversionException
. - ConversionException(String) - Constructor for exception dev.voidframework.core.exception.ConversionException
-
Build a new instance.
- ConversionException.ConverterAlreadyRegistered - Exception in dev.voidframework.core.exception
-
Exception indicates that provided converter is already registered.
- ConversionException.ConverterDoesNotExist - Exception in dev.voidframework.core.exception
-
Exception indicates that requested converter does not exist.
- ConversionException.InvalidConverter - Exception in dev.voidframework.core.exception
-
Exception indicates that something goes wrong during the converter initialization.
- convert(Iterable<S>, Class<S>, Class<T>) - Method in interface dev.voidframework.core.conversion.Conversion
-
Converts each object from a set to the target type.
- convert(Iterable<S>, Class<S>, Class<T>) - Method in class dev.voidframework.core.conversion.impl.DefaultConversion
- convert(Iterable<S>, Class<T>) - Method in interface dev.voidframework.core.conversion.Conversion
-
Converts each object from an iterable to the target type.
- convert(Iterable<S>, Class<T>) - Method in class dev.voidframework.core.conversion.impl.DefaultConversion
- convert(List<S>, Class<S>, Class<T>) - Method in interface dev.voidframework.core.conversion.Conversion
-
Converts each object from a list to the target type.
- convert(List<S>, Class<S>, Class<T>) - Method in class dev.voidframework.core.conversion.impl.DefaultConversion
- convert(List<S>, Class<T>) - Method in interface dev.voidframework.core.conversion.Conversion
-
Converts each object from a list to the target type.
- convert(List<S>, Class<T>) - Method in class dev.voidframework.core.conversion.impl.DefaultConversion
- convert(Set<S>, Class<S>, Class<T>) - Method in interface dev.voidframework.core.conversion.Conversion
-
Converts each object from a set to the target type.
- convert(Set<S>, Class<S>, Class<T>) - Method in class dev.voidframework.core.conversion.impl.DefaultConversion
- convert(Set<S>, Class<T>) - Method in interface dev.voidframework.core.conversion.Conversion
-
Converts each object from a set to the target type.
- convert(Set<S>, Class<T>) - Method in class dev.voidframework.core.conversion.impl.DefaultConversion
- convert(S) - Method in interface dev.voidframework.core.conversion.TypeConverter
-
Converts the given source object to the target type.
- convert(S, Class<S>, Class<T>) - Method in interface dev.voidframework.core.conversion.Conversion
-
Converts an object to the target type.
- convert(S, Class<S>, Class<T>) - Method in class dev.voidframework.core.conversion.impl.DefaultConversion
- convert(S, Class<T>) - Method in interface dev.voidframework.core.conversion.Conversion
-
Converts an object to the target type.
- convert(S, Class<T>) - Method in class dev.voidframework.core.conversion.impl.DefaultConversion
- ConverterAlreadyRegistered(Class<?>, Class<?>) - Constructor for exception dev.voidframework.core.exception.ConversionException.ConverterAlreadyRegistered
-
Build a new instance.
- ConverterCompositeKey - Record Class in dev.voidframework.core.conversion.impl
-
Composite key consisting of the source and destination of the conversion.
- ConverterCompositeKey(Class<?>, Class<?>) - Constructor for record class dev.voidframework.core.conversion.impl.ConverterCompositeKey
-
Creates an instance of a
ConverterCompositeKey
record class. - ConverterDoesNotExist(Class<?>, Class<?>) - Constructor for exception dev.voidframework.core.exception.ConversionException.ConverterDoesNotExist
-
Build a new instance.
- ConverterInformation - Record Class in dev.voidframework.core.classestoload
-
Converter information.
- ConverterInformation(Class<?>, Class<?>, Class<?>) - Constructor for record class dev.voidframework.core.classestoload.ConverterInformation
-
Creates an instance of a
ConverterInformation
record class. - converterInformationList() - Method in record class dev.voidframework.core.classestoload.ScannedClassesToLoad
-
Returns the value of the
converterInformationList
record component. - ConverterManager - Interface in dev.voidframework.core.conversion
-
Handle all registered converters.
- converterTypeClass() - Method in record class dev.voidframework.core.classestoload.ConverterInformation
-
Returns the value of the
converterTypeClass
record component. - count() - Method in record class dev.voidframework.core.classestoload.ScannedClassesToLoad
-
Returns the number of scanned classes detected as loadable.
- count() - Method in interface dev.voidframework.core.conversion.ConverterManager
-
Returns the number of registered converters.
- count() - Method in class dev.voidframework.core.conversion.impl.DefaultConverterManager
- CUID - Class in dev.voidframework.core.lang
-
Collision-resistant ID optimized for horizontal scaling and performance.
- CUIDDeserializer - Class in dev.voidframework.core.jackson
-
Jackson deserializer for
CUID
. - CUIDDeserializer() - Constructor for class dev.voidframework.core.jackson.CUIDDeserializer
-
Build a new instance.
- CUIDDeserializer(Class<CUID>) - Constructor for class dev.voidframework.core.jackson.CUIDDeserializer
-
Build a new instance.
- CUIDSerializer - Class in dev.voidframework.core.jackson
-
Jackson serializer for
CUID
. - CUIDSerializer() - Constructor for class dev.voidframework.core.jackson.CUIDSerializer
-
Build a new instance.
- CUIDSerializer(Class<CUID>) - Constructor for class dev.voidframework.core.jackson.CUIDSerializer
-
Build a new instance.
- CURLY_BRACKET_CLOSE - Static variable in class dev.voidframework.core.constant.CharConstants
- CURLY_BRACKET_CLOSE - Static variable in class dev.voidframework.core.constant.StringConstants
- CURLY_BRACKET_OPEN - Static variable in class dev.voidframework.core.constant.CharConstants
- CURLY_BRACKET_OPEN - Static variable in class dev.voidframework.core.constant.StringConstants
D
- DASH - Static variable in class dev.voidframework.core.constant.CharConstants
- DASH - Static variable in class dev.voidframework.core.constant.StringConstants
- DefaultConversion - Class in dev.voidframework.core.conversion.impl
-
Default implementation of
Conversion
. - DefaultConversion(ConverterManager) - Constructor for class dev.voidframework.core.conversion.impl.DefaultConversion
-
Build a new instance.
- DefaultConverterManager - Class in dev.voidframework.core.conversion.impl
-
Default implementation of
ConverterManager
. - DefaultConverterManager() - Constructor for class dev.voidframework.core.conversion.impl.DefaultConverterManager
-
Build a new instance.
- deserialize(JsonParser, DeserializationContext) - Method in class dev.voidframework.core.jackson.CUIDDeserializer
- dev.voidframework.core - package dev.voidframework.core
- dev.voidframework.core.bindable - package dev.voidframework.core.bindable
- dev.voidframework.core.classestoload - package dev.voidframework.core.classestoload
- dev.voidframework.core.classestoload.generator - package dev.voidframework.core.classestoload.generator
- dev.voidframework.core.conditionalfeature - package dev.voidframework.core.conditionalfeature
- dev.voidframework.core.conditionalfeature.condition - package dev.voidframework.core.conditionalfeature.condition
- dev.voidframework.core.constant - package dev.voidframework.core.constant
- dev.voidframework.core.conversion - package dev.voidframework.core.conversion
- dev.voidframework.core.conversion.impl - package dev.voidframework.core.conversion.impl
- dev.voidframework.core.exception - package dev.voidframework.core.exception
- dev.voidframework.core.jackson - package dev.voidframework.core.jackson
- dev.voidframework.core.lang - package dev.voidframework.core.lang
- dev.voidframework.core.lifecycle - package dev.voidframework.core.lifecycle
- dev.voidframework.core.module - package dev.voidframework.core.module
- dev.voidframework.core.remoteconfiguration - package dev.voidframework.core.remoteconfiguration
- dev.voidframework.core.utils - package dev.voidframework.core.utils
- DOT - Static variable in class dev.voidframework.core.constant.CharConstants
- DOT - Static variable in class dev.voidframework.core.constant.StringConstants
- DOUBLE_DOT - Static variable in class dev.voidframework.core.constant.StringConstants
- DOUBLE_QUOTE - Static variable in class dev.voidframework.core.constant.CharConstants
- DOUBLE_QUOTE - Static variable in class dev.voidframework.core.constant.StringConstants
E
- Either<L,
R> - Class in dev.voidframework.core.lang -
Represents a value of one or two possible types (a disjoint union).
- EM_DASH - Static variable in class dev.voidframework.core.constant.CharConstants
- EM_DASH - Static variable in class dev.voidframework.core.constant.StringConstants
- EMPTY - Static variable in class dev.voidframework.core.conditionalfeature.AnnotationMetadata
-
Empty instance of annotation metadata.
- EMPTY - Static variable in class dev.voidframework.core.constant.CharConstants
- EMPTY - Static variable in class dev.voidframework.core.constant.StringConstants
- EQUAL - Static variable in class dev.voidframework.core.constant.CharConstants
- EQUAL - Static variable in class dev.voidframework.core.constant.StringConstants
- equals(Object) - Method in record class dev.voidframework.core.classestoload.ConverterInformation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.voidframework.core.classestoload.ScannedClassesToLoad
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.voidframework.core.conversion.impl.ConverterCompositeKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class dev.voidframework.core.lang.CUID
- equals(Object) - Method in class dev.voidframework.core.lang.TypedMap
- equals(Object) - Method in class dev.voidframework.core.lang.TypedMap.Key
- expectedValue() - Element in annotation interface dev.voidframework.core.conditionalfeature.ConfigurationConditionalFeature
-
Defines all the expected values to enable the feature.
F
- FetchError(Class<? extends RemoteConfigurationProvider>, String) - Constructor for exception dev.voidframework.core.exception.RemoteConfigurationException.FetchError
-
Build a new instance.
- FetchError(Class<? extends RemoteConfigurationProvider>, Throwable) - Constructor for exception dev.voidframework.core.exception.RemoteConfigurationException.FetchError
-
Build a new instance.
- FileCfgObject - Class in dev.voidframework.core.remoteconfiguration
-
Represents a file.
- FileCfgObject(byte[], String) - Constructor for class dev.voidframework.core.remoteconfiguration.FileCfgObject
-
Build a new instance.
- FileCfgObject(InputStream, String) - Constructor for class dev.voidframework.core.remoteconfiguration.FileCfgObject
-
Build a new instance.
- FileCfgObject(String, String) - Constructor for class dev.voidframework.core.remoteconfiguration.FileCfgObject
-
Build a new instance.
- findClassesToLoad(String[], String[], List<String>) - Static method in class dev.voidframework.core.classestoload.ClassesToLoadScanner
-
Scan given paths to find classes to bind.
- forName(String) - Static method in class dev.voidframework.core.utils.ClassResolverUtils
-
Resolves
Class<?>
for a class name. - forName(String, ClassLoader) - Static method in class dev.voidframework.core.utils.ClassResolverUtils
-
Resolves
Class<?>
for a class name. - fromJson(byte[], JavaType) - Static method in class dev.voidframework.core.utils.JsonUtils
-
Converts a JSON document into to a Java object.
- fromJson(byte[], Class<T>) - Static method in class dev.voidframework.core.utils.JsonUtils
-
Converts a JSON document into to a Java object.
- fromJson(JsonNode, JavaType) - Static method in class dev.voidframework.core.utils.JsonUtils
-
Converts a JSON document into to a Java object.
- fromJson(JsonNode, Class<T>) - Static method in class dev.voidframework.core.utils.JsonUtils
-
Converts a JSON document into to a Java object.
- fromJson(InputStream, JavaType) - Static method in class dev.voidframework.core.utils.JsonUtils
-
Converts a JSON document into to a Java object.
- fromJson(InputStream, Class<T>) - Static method in class dev.voidframework.core.utils.JsonUtils
-
Converts a JSON document into to a Java object.
- fromJson(String, JavaType) - Static method in class dev.voidframework.core.utils.JsonUtils
-
Converts a JSON document into to a Java object.
- fromJson(String, Class<T>) - Static method in class dev.voidframework.core.utils.JsonUtils
-
Converts a JSON document into to a Java object.
- FromJsonConversionFailure(Throwable) - Constructor for exception dev.voidframework.core.exception.JsonException.FromJsonConversionFailure
-
Build a new instance.
- fromMap(Map<?, ?>, JavaType) - Static method in class dev.voidframework.core.utils.JsonUtils
-
Converts a data map into to a Java object.
- fromMap(Map<?, ?>, Class<T>) - Static method in class dev.voidframework.core.utils.JsonUtils
-
Converts a data map into to a Java object.
- fromString(String) - Static method in class dev.voidframework.core.lang.CUID
-
Creates a
CUID
from the string standard representation. - fromXml(byte[], JavaType) - Static method in class dev.voidframework.core.utils.XmlUtils
-
Converts a XML document into to a Java object.
- fromXml(byte[], Class<T>) - Static method in class dev.voidframework.core.utils.XmlUtils
-
Converts a XML document into to a Java object.
- fromXml(InputStream, JavaType) - Static method in class dev.voidframework.core.utils.XmlUtils
-
Converts a XML document into to a Java object.
- fromXml(InputStream, Class<T>) - Static method in class dev.voidframework.core.utils.XmlUtils
-
Converts a XML document into to a Java object.
- fromXml(Document, JavaType) - Static method in class dev.voidframework.core.utils.XmlUtils
-
Converts a XML document into to a Java object.
- fromXml(Document, Class<T>) - Static method in class dev.voidframework.core.utils.XmlUtils
-
Converts a XML document into to a Java object.
- FromXmlConversionFailure(Throwable) - Constructor for exception dev.voidframework.core.exception.XmlException.FromXmlConversionFailure
-
Build a new instance.
- fromYaml(byte[], JavaType) - Static method in class dev.voidframework.core.utils.YamlUtils
-
Converts a YAML document into to a Java object.
- fromYaml(byte[], Class<T>) - Static method in class dev.voidframework.core.utils.YamlUtils
-
Converts a YAML document into to a Java object.
- fromYaml(JsonNode, JavaType) - Static method in class dev.voidframework.core.utils.YamlUtils
-
Converts a YAML document into to a Java object.
- fromYaml(JsonNode, Class<T>) - Static method in class dev.voidframework.core.utils.YamlUtils
-
Converts a YAML document into to a Java object.
- fromYaml(InputStream, JavaType) - Static method in class dev.voidframework.core.utils.YamlUtils
-
Converts a YAML document into to a Java object.
- fromYaml(InputStream, Class<T>) - Static method in class dev.voidframework.core.utils.YamlUtils
-
Converts a YAML document into to a Java object.
- FromYamlConversionFailure(Throwable) - Constructor for exception dev.voidframework.core.exception.YamlException.FromYamlConversionFailure
-
Build a new instance.
G
- get(TypedMap.Key<T>) - Method in class dev.voidframework.core.lang.TypedMap
-
Retrieves the value associated to the specified key.
- getAnnotatedField(Class<?>, Class<? extends Annotation>) - Static method in class dev.voidframework.core.utils.ReflectionUtils
-
Retrieves a specific annotated field.
- getAnnotatedField(Object, Class<? extends Annotation>) - Static method in class dev.voidframework.core.utils.ReflectionUtils
-
Retrieves a specific annotated field.
- getBoolean(String) - Method in class dev.voidframework.core.conditionalfeature.AnnotationMetadata
-
Gets value as boolean.
- getBooleanArray(String) - Method in class dev.voidframework.core.conditionalfeature.AnnotationMetadata
-
Gets value as boolean array.
- getChar(String) - Method in class dev.voidframework.core.conditionalfeature.AnnotationMetadata
-
Gets value as char.
- getCharArray(String) - Method in class dev.voidframework.core.conditionalfeature.AnnotationMetadata
-
Gets value as char array.
- getClassType(String) - Method in class dev.voidframework.core.conditionalfeature.AnnotationMetadata
-
Gets value as class type.
- getClassTypeArray(String) - Method in class dev.voidframework.core.conditionalfeature.AnnotationMetadata
-
Gets value as class type array.
- getConfigurationObjectName() - Method in interface dev.voidframework.core.remoteconfiguration.RemoteConfigurationProvider
-
Retrieves the provider configuration object name.
- getConverter(Class<S>, Class<T>) - Method in interface dev.voidframework.core.conversion.ConverterManager
-
Returns whether the Manager have converter for the given input / output type.
- getConverter(Class<S>, Class<T>) - Method in class dev.voidframework.core.conversion.impl.DefaultConverterManager
- getEnumeration(String) - Method in class dev.voidframework.core.conditionalfeature.AnnotationMetadata
-
Gets value as enumeration.
- getEnumerationArray(String) - Method in class dev.voidframework.core.conditionalfeature.AnnotationMetadata
-
Gets value as enumeration array.
- getFieldValue(Object, String, ReflectionUtils.WrappedClass<T>) - Static method in class dev.voidframework.core.utils.ReflectionUtils
-
Retrieves the value of a specific field.
- getFieldValue(Object, String, Class<T>) - Static method in class dev.voidframework.core.utils.ReflectionUtils
-
Retrieves the value of a specific field.
- getInstance(Class<T>) - Method in class dev.voidframework.core.VoidApplication
-
Get instance of a specific bind class.
- getInteger(String) - Method in class dev.voidframework.core.conditionalfeature.AnnotationMetadata
-
Gets value as integer.
- getIntegerArray(String) - Method in class dev.voidframework.core.conditionalfeature.AnnotationMetadata
-
Gets value as integer array.
- getLeft() - Method in class dev.voidframework.core.lang.Either
-
Returns the "Left" value.
- getLong(String) - Method in class dev.voidframework.core.conditionalfeature.AnnotationMetadata
-
Gets value as long.
- getLongArray(String) - Method in class dev.voidframework.core.conditionalfeature.AnnotationMetadata
-
Gets value as long array.
- getName() - Method in interface dev.voidframework.core.remoteconfiguration.RemoteConfigurationProvider
-
Retrieves the provider name.
- getRight() - Method in class dev.voidframework.core.lang.Either
-
Returns the "Right" value.
- getString(String) - Method in class dev.voidframework.core.conditionalfeature.AnnotationMetadata
-
Gets value as string.
- getStringArray(String) - Method in class dev.voidframework.core.conditionalfeature.AnnotationMetadata
-
Gets value as string array.
- getVersion() - Static method in class dev.voidframework.core.utils.VoidFrameworkVersion
-
Retrieves the framework version.
- getWrappedClass() - Method in class dev.voidframework.core.utils.ReflectionUtils.WrappedClass
-
Returns the wrapped class type.
- gracefulStopTimeoutConfigKey() - Element in annotation interface dev.voidframework.core.lifecycle.LifeCycleStop
-
Defines the configuration key for the time (in milliseconds) to shut down properly.
H
- hasConvertFor(Class<S>, Class<T>) - Method in interface dev.voidframework.core.conversion.ConverterManager
-
Returns whether the Manager have converter for the given input / output type.
- hasConvertFor(Class<S>, Class<T>) - Method in class dev.voidframework.core.conversion.impl.DefaultConverterManager
- hashCode() - Method in record class dev.voidframework.core.classestoload.ConverterInformation
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.voidframework.core.classestoload.ScannedClassesToLoad
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.voidframework.core.conversion.impl.ConverterCompositeKey
-
Returns a hash code value for this object.
- hashCode() - Method in class dev.voidframework.core.lang.CUID
- hashCode() - Method in class dev.voidframework.core.lang.TypedMap
- hashCode() - Method in class dev.voidframework.core.lang.TypedMap.Key
- HASHTAG - Static variable in class dev.voidframework.core.constant.CharConstants
- HASHTAG - Static variable in class dev.voidframework.core.constant.StringConstants
- hasLeft() - Method in class dev.voidframework.core.lang.Either
-
Checks if the "Left" value is set.
- hasRight() - Method in class dev.voidframework.core.lang.Either
-
Checks if the "Right" value is set.
- hear(TypeLiteral<I>, TypeEncounter<I>) - Method in class dev.voidframework.core.lifecycle.LifeCycleAnnotationListener
- HexUtils - Class in dev.voidframework.core.utils
-
Utility methods to handle hexadecimal values.
- HYPHEN - Static variable in class dev.voidframework.core.constant.CharConstants
- HYPHEN - Static variable in class dev.voidframework.core.constant.StringConstants
I
- InvalidConverter(String, String) - Constructor for exception dev.voidframework.core.exception.ConversionException.InvalidConverter
-
Build a new instance.
- InvocationFailure(String, String, Throwable) - Constructor for exception dev.voidframework.core.exception.LifeCycleException.InvocationFailure
-
Build a new instance.
- IOUtils - Class in dev.voidframework.core.utils
-
IO utility methods.
- isEnabled(Config, Class<?>, AnnotationMetadata) - Method in interface dev.voidframework.core.conditionalfeature.condition.Condition
-
Checks if the feature must be enabled or not.
- isEnabled(Config, Class<?>, AnnotationMetadata) - Method in class dev.voidframework.core.conditionalfeature.condition.ConfigurationCondition
- isFeatureDisabled(Class<?>) - Method in class dev.voidframework.core.conditionalfeature.ConditionalFeatureVerifier
-
Checks if the feature is disabled.
- isFile(String) - Method in class dev.voidframework.core.remoteconfiguration.AbstractRemoteConfigurationProvider
-
Checks if the given value represents a file or not.
- isProxy(Class<?>) - Static method in class dev.voidframework.core.utils.ProxyDetectorUtils
-
Checks whether the given class is a proxy.
- isProxy(Object) - Static method in class dev.voidframework.core.utils.ProxyDetectorUtils
-
Checks whether the given object is a proxy.
- isValid(String) - Static method in class dev.voidframework.core.lang.CUID
-
Checks the
CUID
from the string standard representation.
J
- JsonException - Exception in dev.voidframework.core.exception
-
All exceptions thrown by the JSON utility class are subclasses of
JsonException
. - JsonException(String, Throwable) - Constructor for exception dev.voidframework.core.exception.JsonException
-
Build a new instance.
- JsonException.FromJsonConversionFailure - Exception in dev.voidframework.core.exception
-
Exception indicates that conversion from JSON just fail.
- JsonException.ToJsonConversionFailure - Exception in dev.voidframework.core.exception
-
Exception indicates that conversion to JSON just fail.
- JsonException.ToStringConversionFailure - Exception in dev.voidframework.core.exception
-
Exception indicates that conversion to a JSON string just fail.
- JsonUtils - Class in dev.voidframework.core.utils
-
Utility to handle JSON document.
K
- KeyValueCfgObject - Class in dev.voidframework.core.remoteconfiguration
-
Represents a simple key / value object.
- KeyValueCfgObject(String, String) - Constructor for class dev.voidframework.core.remoteconfiguration.KeyValueCfgObject
-
Build a new instance.
L
- launch() - Method in class dev.voidframework.core.VoidApplication
-
Launch Void Framework.
- LifeCycleAnnotationListener - Class in dev.voidframework.core.lifecycle
-
Listens to the different bind classes to detect which ones have methods to call when starting or stopping the application.
- LifeCycleAnnotationListener(LifeCycleManager) - Constructor for class dev.voidframework.core.lifecycle.LifeCycleAnnotationListener
-
Build a new instance.
- LifeCycleException - Exception in dev.voidframework.core.exception
-
All exceptions thrown by the life cycle features are subclasses of
LifeCycleException
. - LifeCycleException(String, Throwable) - Constructor for exception dev.voidframework.core.exception.LifeCycleException
-
Build a new instance.
- LifeCycleException.InvocationFailure - Exception in dev.voidframework.core.exception
-
Exception indicates that method invocation failed miserably.
- LifeCycleManager - Class in dev.voidframework.core.lifecycle
-
Life cycle manager takes care of executing the various hooks defined by the use of the
LifeCycleStart
andLifeCycleStop
annotations. - LifeCycleManager(Config) - Constructor for class dev.voidframework.core.lifecycle.LifeCycleManager
-
Build a new instance.
- LifeCycleStart - Annotation Interface in dev.voidframework.core.lifecycle
-
Indicates that the method should be called when the application is started.
- LifeCycleStop - Annotation Interface in dev.voidframework.core.lifecycle
-
Indicates that the method should be called when the application is stopped.
- LINE_FEED - Static variable in class dev.voidframework.core.constant.CharConstants
- LINE_FEED - Static variable in class dev.voidframework.core.constant.StringConstants
- LINE_SEPARATOR - Static variable in class dev.voidframework.core.constant.StringConstants
- loadConfiguration(Config, Consumer<KeyValueCfgObject>, Consumer<FileCfgObject>) - Method in interface dev.voidframework.core.remoteconfiguration.RemoteConfigurationProvider
-
Loads the configuration.
M
- main(String[]) - Static method in class dev.voidframework.core.classestoload.generator.ClasspathBootstrapGenerator
-
Main entry of the generator (called by Maven).
- match(Consumer<L>, Consumer<R>) - Method in class dev.voidframework.core.lang.Either
-
Applies the right consumer.
- match(Function<L, U>, Function<R, U>) - Method in class dev.voidframework.core.lang.Either
-
Applies the right function.
- MissingProgramArgument(String) - Constructor for exception dev.voidframework.core.exception.ClasspathBootstrapGeneratorException.MissingProgramArgument
-
Build a new instance.
- ModuleInitFailure(Class<?>, Throwable) - Constructor for exception dev.voidframework.core.exception.AppLauncherException.ModuleInitFailure
-
Build a new instance.
- moduleList() - Method in record class dev.voidframework.core.classestoload.ScannedClassesToLoad
-
Returns the value of the
moduleList
record component.
O
- objectMapper() - Static method in class dev.voidframework.core.utils.JsonUtils
-
Gets the object mapper.
- of(String, Class<V>) - Static method in class dev.voidframework.core.lang.TypedMap.Key
-
Build a new key.
- ofLeft(L) - Static method in class dev.voidframework.core.lang.Either
-
Creates a
Either
with left value set. - ofRight(R) - Static method in class dev.voidframework.core.lang.Either
-
Creates a
Either
with right value set. - OrderedModule - Interface in dev.voidframework.core.module
-
Allows prioritisation of Guice modules.
P
- PARENTHESIS_CLOSE - Static variable in class dev.voidframework.core.constant.CharConstants
- PARENTHESIS_CLOSE - Static variable in class dev.voidframework.core.constant.StringConstants
- PARENTHESIS_OPEN - Static variable in class dev.voidframework.core.constant.CharConstants
- PARENTHESIS_OPEN - Static variable in class dev.voidframework.core.constant.StringConstants
- persistClassesToLoad(ScannedClassesToLoad, Path) - Static method in class dev.voidframework.core.classestoload.ClassesToLoadScanner
-
Persists a
ScannedClassesToLoad
object. - priority() - Element in annotation interface dev.voidframework.core.lifecycle.LifeCycleStart
-
Defines the start-up priority.
- priority() - Element in annotation interface dev.voidframework.core.lifecycle.LifeCycleStop
-
Defines priority when stopping.
- priority() - Method in interface dev.voidframework.core.module.OrderedModule
-
Returns the priority of the module.
- processAllProviders(Config) - Static method in class dev.voidframework.core.remoteconfiguration.RemoteConfigurationLoader
-
Iterates over all declared providers.
- ProviderDoesNotExist(String) - Constructor for exception dev.voidframework.core.exception.RemoteConfigurationException.ProviderDoesNotExist
-
Build a new instance.
- ProxyDetectorUtils - Class in dev.voidframework.core.utils
-
Utility to detect proxy class.
- put(TypedMap.Key<T>, T) - Method in class dev.voidframework.core.lang.TypedMap
-
Associates the specified value with the specified key.
Q
- QUESTION_MARK - Static variable in class dev.voidframework.core.constant.CharConstants
- QUESTION_MARK - Static variable in class dev.voidframework.core.constant.StringConstants
R
- randomCUID() - Static method in class dev.voidframework.core.lang.CUID
-
Generates a new random CUID.
- ReflectionUtils - Class in dev.voidframework.core.utils
-
Reflection-based utility methods.
- ReflectionUtils.WrappedClass<T> - Class in dev.voidframework.core.utils
-
Allows to wrap a complex class type (ie: Map{String, Integer})
- registerConverter(Class<?>, Class<?>, TypeConverter<?, ?>) - Method in interface dev.voidframework.core.conversion.ConverterManager
-
Register converter.
- registerConverter(Class<?>, Class<?>, TypeConverter<?, ?>) - Method in class dev.voidframework.core.conversion.impl.DefaultConverterManager
- registerStart(Class<?>, Method, int) - Method in class dev.voidframework.core.lifecycle.LifeCycleManager
-
Register a "START" method.
- registerStop(Class<?>, Method, int, String) - Method in class dev.voidframework.core.lifecycle.LifeCycleManager
-
Register a "STOP" method.
- RemoteConfigurationException - Exception in dev.voidframework.core.exception
-
All exceptions thrown by the remote configuration are subclasses of
RemoteConfigurationException
. - RemoteConfigurationException(String) - Constructor for exception dev.voidframework.core.exception.RemoteConfigurationException
-
Build a new instance.
- RemoteConfigurationException(String, String) - Constructor for exception dev.voidframework.core.exception.RemoteConfigurationException
-
Build a new instance.
- RemoteConfigurationException(String, String, Throwable) - Constructor for exception dev.voidframework.core.exception.RemoteConfigurationException
-
Build a new instance.
- RemoteConfigurationException(String, Throwable) - Constructor for exception dev.voidframework.core.exception.RemoteConfigurationException
-
Build a new instance.
- RemoteConfigurationException.BadProvider - Exception in dev.voidframework.core.exception
-
This exception indicate that provider can't be instantiated / used.
- RemoteConfigurationException.BadValue - Exception in dev.voidframework.core.exception
-
This exception indicate that a value was not valid.
- RemoteConfigurationException.FetchError - Exception in dev.voidframework.core.exception
-
This exception indicate that provider fail to fetch remote configuration.
- RemoteConfigurationException.ProviderDoesNotExist - Exception in dev.voidframework.core.exception
-
This exception indicate that provider does not exist.
- RemoteConfigurationException.StorageException - Exception in dev.voidframework.core.exception
-
This exception indicate that file can't be saved.
- RemoteConfigurationLoader - Class in dev.voidframework.core.remoteconfiguration
-
Remote configuration loader.
- RemoteConfigurationProvider - Interface in dev.voidframework.core.remoteconfiguration
-
Remote configuration provider.
- remove(TypedMap.Key<T>) - Method in class dev.voidframework.core.lang.TypedMap
-
Removes the value associated to the specified key.
- Repository - Annotation Interface in dev.voidframework.core.bindable
-
Indicates that an annotated class is a "Repository".
- resetWithoutException(InputStream) - Static method in class dev.voidframework.core.utils.IOUtils
-
Reset a stream without any exceptions.
- resolveMethod(String, Class<?>) - Static method in class dev.voidframework.core.utils.ReflectionUtils
-
Resolves a methode from it name.
- restoreClassesToLoad(InputStream) - Static method in class dev.voidframework.core.classestoload.ClassesToLoadScanner
-
Restore a
ScannedClassesToLoad
from the given stream.
S
- ScannedClassesToLoad - Record Class in dev.voidframework.core.classestoload
-
Scanned classes to load into Guice.
- ScannedClassesToLoad(List<Class<?>>, List<Class<?>>, List<ConverterInformation>) - Constructor for record class dev.voidframework.core.classestoload.ScannedClassesToLoad
-
Creates an instance of a
ScannedClassesToLoad
record class. - SEMICOLON - Static variable in class dev.voidframework.core.constant.CharConstants
- SEMICOLON - Static variable in class dev.voidframework.core.constant.StringConstants
- serialize(CUID, JsonGenerator, SerializerProvider) - Method in class dev.voidframework.core.jackson.CUIDSerializer
- Service - Annotation Interface in dev.voidframework.core.bindable
-
Indicates that an annotated class is a "Service".
- setFieldValue(Object, String, Object) - Static method in class dev.voidframework.core.utils.ReflectionUtils
-
Sets the value of a specific field.
- setInjector(Injector) - Method in class dev.voidframework.core.lifecycle.LifeCycleManager
-
Sets the injector.
- SIMPLE_QUOTE - Static variable in class dev.voidframework.core.constant.CharConstants
- SIMPLE_QUOTE - Static variable in class dev.voidframework.core.constant.StringConstants
- SLASH - Static variable in class dev.voidframework.core.constant.CharConstants
- SLASH - Static variable in class dev.voidframework.core.constant.StringConstants
- sourceTypeClass() - Method in record class dev.voidframework.core.classestoload.ConverterInformation
-
Returns the value of the
sourceTypeClass
record component. - sourceTypeClass() - Method in record class dev.voidframework.core.conversion.impl.ConverterCompositeKey
-
Returns the value of the
sourceTypeClass
record component. - SPACE - Static variable in class dev.voidframework.core.constant.CharConstants
- SPACE - Static variable in class dev.voidframework.core.constant.StringConstants
- SQUARE_BRACKET_CLOSE - Static variable in class dev.voidframework.core.constant.CharConstants
- SQUARE_BRACKET_CLOSE - Static variable in class dev.voidframework.core.constant.StringConstants
- SQUARE_BRACKET_OPEN - Static variable in class dev.voidframework.core.constant.CharConstants
- SQUARE_BRACKET_OPEN - Static variable in class dev.voidframework.core.constant.StringConstants
- startAll() - Method in class dev.voidframework.core.lifecycle.LifeCycleManager
-
Invoke all registered "START" methods.
- stopAll() - Method in class dev.voidframework.core.lifecycle.LifeCycleManager
-
Invoke all registered "STOP" methods.
- StorageException(String, String) - Constructor for exception dev.voidframework.core.exception.RemoteConfigurationException.StorageException
-
Build a new instance.
- StorageException(String, String, Exception) - Constructor for exception dev.voidframework.core.exception.RemoteConfigurationException.StorageException
-
Build a new instance.
- StringConstants - Class in dev.voidframework.core.constant
-
Defines some String related constants.
T
- targetTypeClass() - Method in record class dev.voidframework.core.classestoload.ConverterInformation
-
Returns the value of the
targetTypeClass
record component. - targetTypeClass() - Method in record class dev.voidframework.core.conversion.impl.ConverterCompositeKey
-
Returns the value of the
targetTypeClass
record component. - TILDE - Static variable in class dev.voidframework.core.constant.CharConstants
- TILDE - Static variable in class dev.voidframework.core.constant.StringConstants
- toHex(byte[]) - Static method in class dev.voidframework.core.utils.HexUtils
-
Convert each byte composing given array into hexadecimal representation.
- toHex(String) - Static method in class dev.voidframework.core.utils.HexUtils
-
Convert each byte composing given string into hexadecimal representation.
- toJson(byte[]) - Static method in class dev.voidframework.core.utils.JsonUtils
-
Converts a byte array to a JSON document.
- toJson(InputStream) - Static method in class dev.voidframework.core.utils.JsonUtils
-
Converts an
InputStream
to JSON document. - toJson(Object) - Static method in class dev.voidframework.core.utils.JsonUtils
-
Converts an object to JSON document.
- ToJsonConversionFailure(Throwable) - Constructor for exception dev.voidframework.core.exception.JsonException.ToJsonConversionFailure
-
Build a new instance.
- toMap(Object) - Static method in class dev.voidframework.core.utils.JsonUtils
-
Converts an object into a data map.
- toString() - Method in record class dev.voidframework.core.classestoload.ConverterInformation
-
Returns a string representation of this record class.
- toString() - Method in record class dev.voidframework.core.classestoload.ScannedClassesToLoad
-
Returns a string representation of this record class.
- toString() - Method in record class dev.voidframework.core.conversion.impl.ConverterCompositeKey
-
Returns a string representation of this record class.
- toString() - Method in class dev.voidframework.core.lang.CUID
- toString() - Method in class dev.voidframework.core.lang.TypedMap.Key
- toString() - Method in class dev.voidframework.core.lang.TypedMap
- toString() - Method in class dev.voidframework.core.remoteconfiguration.FileCfgObject
- toString() - Method in class dev.voidframework.core.remoteconfiguration.KeyValueCfgObject
- toString(JsonNode) - Static method in class dev.voidframework.core.utils.JsonUtils
-
Converts a JSON to string.
- toString(JsonNode) - Static method in class dev.voidframework.core.utils.YamlUtils
-
Converts an YAML to string.
- toString(Object) - Static method in class dev.voidframework.core.utils.JsonUtils
-
Converts a JSON to string.
- toString(Object) - Static method in class dev.voidframework.core.utils.XmlUtils
-
Converts an object to XML document.
- toString(Object) - Static method in class dev.voidframework.core.utils.YamlUtils
-
Converts an object to YAML document.
- toString(Document) - Static method in class dev.voidframework.core.utils.XmlUtils
-
Converts an XML to string.
- ToStringConversionFailure(Throwable) - Constructor for exception dev.voidframework.core.exception.JsonException.ToStringConversionFailure
-
Build a new instance.
- ToStringConversionFailure(Throwable) - Constructor for exception dev.voidframework.core.exception.XmlException.ToStringConversionFailure
-
Build a new instance.
- ToStringConversionFailure(Throwable) - Constructor for exception dev.voidframework.core.exception.YamlException.ToStringConversionFailure
-
Build a new instance.
- toStringWithAdaptativeMask() - Method in class dev.voidframework.core.remoteconfiguration.KeyValueCfgObject
-
Same as
KeyValueCfgObject.toString()
but with a potential mask applied to the value. - toXml(byte[]) - Static method in class dev.voidframework.core.utils.XmlUtils
-
Converts a byte array to an XML document.
- toXml(InputStream) - Static method in class dev.voidframework.core.utils.XmlUtils
-
Converts a
InputStream
to an XML document. - ToXmlConversionFailure(Throwable) - Constructor for exception dev.voidframework.core.exception.XmlException.ToXmlConversionFailure
-
Build a new instance.
- toYaml(byte[]) - Static method in class dev.voidframework.core.utils.YamlUtils
-
Converts a byte array to a YAML document.
- toYaml(InputStream) - Static method in class dev.voidframework.core.utils.YamlUtils
-
Converts an
InputStream
to a YAML document. - ToYamlConversionFailure(Throwable) - Constructor for exception dev.voidframework.core.exception.YamlException.ToYamlConversionFailure
-
Build a new instance.
- TypeConverter<S,
T> - Interface in dev.voidframework.core.conversion -
All type converters must implement this interface.
- TypedMap - Class in dev.voidframework.core.lang
-
Typed key-value map.
- TypedMap() - Constructor for class dev.voidframework.core.lang.TypedMap
-
Build a new instance.
- TypedMap.Key<T> - Class in dev.voidframework.core.lang
-
TypedMap Key.
U
- UNDERSCORE - Static variable in class dev.voidframework.core.constant.CharConstants
- UNDERSCORE - Static variable in class dev.voidframework.core.constant.StringConstants
V
- value() - Element in annotation interface dev.voidframework.core.conditionalfeature.ConditionalFeature
-
Condition to use to determine if the feature must be enabled.
- value() - Element in annotation interface dev.voidframework.core.conditionalfeature.ConfigurationConditionalFeature
-
Defines the name of the values to be read from the configuration, properties or environment variables.
- VoidApplication - Class in dev.voidframework.core
-
Application launcher are expected to instantiate and run all parts of an application based on Void Framework, wiring everything together.
- VoidApplication() - Constructor for class dev.voidframework.core.VoidApplication
-
Build a new instance.
- VoidFrameworkModule - Class in dev.voidframework.core.jackson
-
Void Framework module for Jackson.
- VoidFrameworkModule() - Constructor for class dev.voidframework.core.jackson.VoidFrameworkModule
-
Build a new instance.
- VoidFrameworkVersion - Class in dev.voidframework.core.utils
-
Utility to retrieve Void Framework version.
W
- WILDCARD - Static variable in class dev.voidframework.core.constant.CharConstants
- WILDCARD - Static variable in class dev.voidframework.core.constant.StringConstants
- WrappedClass() - Constructor for class dev.voidframework.core.utils.ReflectionUtils.WrappedClass
-
Build a new instance.
X
- XmlException - Exception in dev.voidframework.core.exception
-
All exceptions thrown by the XML utility class are subclasses of
JsonException
. - XmlException(String, Throwable) - Constructor for exception dev.voidframework.core.exception.XmlException
-
Build a new instance.
- XmlException.FromXmlConversionFailure - Exception in dev.voidframework.core.exception
-
Exception indicates that conversion from XML just fail.
- XmlException.ToStringConversionFailure - Exception in dev.voidframework.core.exception
-
Exception indicates that conversion to a XML string just fail.
- XmlException.ToXmlConversionFailure - Exception in dev.voidframework.core.exception
-
Exception indicates that conversion to XML just fail.
- XmlUtils - Class in dev.voidframework.core.utils
-
Utility to handle XML document.
Y
- YamlException - Exception in dev.voidframework.core.exception
-
All exceptions thrown by the YAML utility class are subclasses of
JsonException
. - YamlException(String, Throwable) - Constructor for exception dev.voidframework.core.exception.YamlException
-
Build a new instance.
- YamlException.FromYamlConversionFailure - Exception in dev.voidframework.core.exception
-
Exception indicates that conversion from YAML just fail.
- YamlException.ToStringConversionFailure - Exception in dev.voidframework.core.exception
-
Exception indicates that conversion to a JSON string just fail.
- YamlException.ToYamlConversionFailure - Exception in dev.voidframework.core.exception
-
Exception indicates that conversion to YAML just fail.
- YamlUtils - Class in dev.voidframework.core.utils
-
Utility to handle YAML document.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form