Index

B C D E G H I K M N P R S T 
All Classes and Interfaces|All Packages|Serialized Form

B

build() - Method in class com.nirro.konfi.Konfi.Builder
 
build() - Method in interface com.nirro.konfi.Konfi.OptionsStep
build
builder(Class<T>) - Static method in class com.nirro.konfi.Konfi
creates a step builder for the properties instance

C

collectionSeparator(String) - Method in class com.nirro.konfi.Konfi.Builder
 
collectionSeparator(String) - Method in interface com.nirro.konfi.Konfi.OptionsStep
regex to be used for splitting a list or set values
com.nirro.konfi - package com.nirro.konfi
 
com.nirro.konfi.annotation - package com.nirro.konfi.annotation
 
com.nirro.konfi.converter - package com.nirro.konfi.converter
 
com.nirro.konfi.exception - package com.nirro.konfi.exception
 
com.nirro.konfi.invocationhandler - package com.nirro.konfi.invocationhandler
 
com.nirro.konfi.reflection - package com.nirro.konfi.reflection
 
com.nirro.konfi.repository - package com.nirro.konfi.repository
 
com.nirro.konfi.source - package com.nirro.konfi.source
 
CompositeRepository - Class in com.nirro.konfi.repository
repository that composite other repositories
CompositeRepository(List<Repository>) - Constructor for class com.nirro.konfi.repository.CompositeRepository
Construct a new CompositeRepository
convert(String, Type, boolean) - Method in interface com.nirro.konfi.converter.PropertyConverter
convert to single value property or Optional value
convert(String, Type, boolean) - Method in class com.nirro.konfi.converter.PropertyConverterImpl
 
convertList(String, Type, boolean) - Method in interface com.nirro.konfi.converter.PropertyConverter
convert to list property or Optional List
convertList(String, Type, boolean) - Method in class com.nirro.konfi.converter.PropertyConverterImpl
 
convertSet(String, Type, boolean) - Method in interface com.nirro.konfi.converter.PropertyConverter
convert to Set property or Optional Set
convertSet(String, Type, boolean) - Method in class com.nirro.konfi.converter.PropertyConverterImpl
 

D

deprecated() - Element in annotation interface com.nirro.konfi.annotation.KonfiProperty
deprecated
deprecated() - Method in record class com.nirro.konfi.invocationhandler.MethodMetadata
Returns the value of the deprecated record component.
description() - Element in annotation interface com.nirro.konfi.annotation.KonfiProperty
description
description() - Method in record class com.nirro.konfi.invocationhandler.MethodMetadata
Returns the value of the description record component.

E

EnvironmentVariables - Class in com.nirro.konfi.source
Environment variables properties supplier
EnvironmentVariables() - Constructor for class com.nirro.konfi.source.EnvironmentVariables
construct a new EnvironmentVariablesSource
equals(Object) - Method in record class com.nirro.konfi.invocationhandler.MethodMetadata
Indicates whether some other object is "equal to" this one.
ExternalPropertiesFile - Class in com.nirro.konfi.source
File properties source
ExternalPropertiesFile(String) - Constructor for class com.nirro.konfi.source.ExternalPropertiesFile
Construct a new FileSource

G

get() - Method in class com.nirro.konfi.source.ExternalPropertiesFile
 
get() - Method in class com.nirro.konfi.source.InternalPropertiesFile
 
get() - Method in class com.nirro.konfi.source.PropertiesMap
 
get() - Method in interface com.nirro.konfi.source.PropertiesSource
get the properties from the source
get() - Method in class com.nirro.konfi.source.SystemProperties
 
getProperty(String) - Method in class com.nirro.konfi.repository.CompositeRepository
 
getProperty(String) - Method in interface com.nirro.konfi.repository.Repository
get property
getProperty(String) - Method in class com.nirro.konfi.repository.RepositoryImpl
 

H

hashCode() - Method in record class com.nirro.konfi.invocationhandler.MethodMetadata
Returns a hash code value for this object.

I

InternalPropertiesFile - Class in com.nirro.konfi.source
Resources properties source
InternalPropertiesFile(String) - Constructor for class com.nirro.konfi.source.InternalPropertiesFile
Construct a new ResourcesPropertiesSupplier
InvalidReturnTypeException - Exception in com.nirro.konfi.exception
A InvalidReturnTypeException is thrown when the return type of the requested method is not valid
InvalidReturnTypeException() - Constructor for exception com.nirro.konfi.exception.InvalidReturnTypeException
Creates a new invalid return type exception
InvalidReturnTypeException(String) - Constructor for exception com.nirro.konfi.exception.InvalidReturnTypeException
Creates a new invalid return type exception
InvalidReturnTypeException(String, Throwable) - Constructor for exception com.nirro.konfi.exception.InvalidReturnTypeException
Creates a new invalid return type exception
InvalidReturnTypeException(Throwable) - Constructor for exception com.nirro.konfi.exception.InvalidReturnTypeException
Creates a new invalid return type exception
InvalidValueException - Exception in com.nirro.konfi.exception
A InvalidValueException is thrown when value doesn't match the property definition
InvalidValueException() - Constructor for exception com.nirro.konfi.exception.InvalidValueException
Creates a new invalid value exception
InvalidValueException(String) - Constructor for exception com.nirro.konfi.exception.InvalidValueException
Creates a new invalid value exception
InvalidValueException(String, Throwable) - Constructor for exception com.nirro.konfi.exception.InvalidValueException
Creates a new invalid value exception
InvalidValueException(Throwable) - Constructor for exception com.nirro.konfi.exception.InvalidValueException
Creates a new invalid value exception
invoke(Object, Method, Object[]) - Method in class com.nirro.konfi.invocationhandler.KonfiHandler
 

K

key() - Element in annotation interface com.nirro.konfi.annotation.KonfiProperty
key
key() - Method in record class com.nirro.konfi.invocationhandler.MethodMetadata
Returns the value of the key record component.
Konfi - Class in com.nirro.konfi
Entry point for the library
Konfi.Builder<T> - Class in com.nirro.konfi
A step builder of konfi properties instance builders are created by invoking Konfi.builder(Class)
Konfi.OptionsStep<T> - Interface in com.nirro.konfi
Options Step include all optional steps and the final build method
Konfi.PropertySourcesStep<T> - Interface in com.nirro.konfi
Property sources Step
KonfiHandler - Class in com.nirro.konfi.invocationhandler
An InvocationHandler that forwards methods annotated with KonfiProperty to the type safe representation of the value found the using the property key in the lookup repositories
KonfiHandler(PropertyConverter, Map<Method, MethodMetadata>, Repository, List<UnaryOperator<String>>) - Constructor for class com.nirro.konfi.invocationhandler.KonfiHandler
constructs a new KonfiHandler
KonfiProperty - Annotation Interface in com.nirro.konfi.annotation
Apply to the methods that corresponds to property to mark it as Konfi property.

M

method() - Method in record class com.nirro.konfi.invocationhandler.MethodMetadata
Returns the value of the method record component.
MethodMetadata - Record Class in com.nirro.konfi.invocationhandler
MethodMetadata
MethodMetadata(String, String, boolean, String, Type, Method) - Constructor for record class com.nirro.konfi.invocationhandler.MethodMetadata
Creates an instance of a MethodMetadata record class.
MissingKonfiPropertyAnnotationException - Exception in com.nirro.konfi.exception
A MissingKonfiPropertyAnnotationException is thrown when calling a method that doesn't have KonfiProperty annotation
MissingKonfiPropertyAnnotationException() - Constructor for exception com.nirro.konfi.exception.MissingKonfiPropertyAnnotationException
Creates a new missing konfi property annotation exception
MissingKonfiPropertyAnnotationException(String) - Constructor for exception com.nirro.konfi.exception.MissingKonfiPropertyAnnotationException
Creates a new missing konfi property annotation exception
MissingKonfiPropertyAnnotationException(String, Throwable) - Constructor for exception com.nirro.konfi.exception.MissingKonfiPropertyAnnotationException
Creates a new missing konfi property annotation exception
MissingKonfiPropertyAnnotationException(Throwable) - Constructor for exception com.nirro.konfi.exception.MissingKonfiPropertyAnnotationException
Creates a new missing konfi property annotation exception
MissingValueException - Exception in com.nirro.konfi.exception
A MissingValueException is thrown when value is missing
MissingValueException() - Constructor for exception com.nirro.konfi.exception.MissingValueException
Creates a new missing value exception
MissingValueException(String) - Constructor for exception com.nirro.konfi.exception.MissingValueException
Creates a new missing value exception
MissingValueException(String, Throwable) - Constructor for exception com.nirro.konfi.exception.MissingValueException
Creates a new missing value exception
MissingValueException(Throwable) - Constructor for exception com.nirro.konfi.exception.MissingValueException
Creates a new missing value exception

N

newCompositeRepository(List<Repository>) - Static method in class com.nirro.konfi.repository.Repositories
create a new Composite Repository
newEnvironmentVariablesSource() - Static method in class com.nirro.konfi.source.PropertiesSources
creates a new environment variables source
newExternalFileSource(String) - Static method in class com.nirro.konfi.source.PropertiesSources
creates a new file properties source
newInternalFileSource(String) - Static method in class com.nirro.konfi.source.PropertiesSources
creates a new resources properties source
newMapSource(Map<String, String>) - Static method in class com.nirro.konfi.source.PropertiesSources
creates a new Map properties source
newRepository(PropertiesSource) - Static method in class com.nirro.konfi.repository.Repositories
create a new repository
newSystemPropertiesSource() - Static method in class com.nirro.konfi.source.PropertiesSources
creates a new system properties source

P

preProcessors(List<UnaryOperator<String>>) - Method in class com.nirro.konfi.Konfi.Builder
 
preProcessors(List<UnaryOperator<String>>) - Method in interface com.nirro.konfi.Konfi.OptionsStep
preProcessors to be applied on each value
PropertiesMap - Class in com.nirro.konfi.source
Map properties source
PropertiesMap(Map<String, String>) - Constructor for class com.nirro.konfi.source.PropertiesMap
Construct a new MapSource
PropertiesSource - Interface in com.nirro.konfi.source
Properties source
PropertiesSources - Class in com.nirro.konfi.source
Factory methods for all kind of property sources
PropertyConverter - Interface in com.nirro.konfi.converter
A converter which can convert an String representation value into different types
PropertyConverterImpl - Class in com.nirro.konfi.converter
A converter which can convert an String representation value into one of the following types: String Long Integer Boolean Double Float
PropertyConverterImpl(String) - Constructor for class com.nirro.konfi.converter.PropertyConverterImpl
Construct a new PropertyConverterImpl

R

refresh() - Method in class com.nirro.konfi.invocationhandler.KonfiHandler
refresh all property sources
refresh() - Method in class com.nirro.konfi.repository.CompositeRepository
 
refresh() - Method in interface com.nirro.konfi.repository.Repository
refresh the repository.
refresh() - Method in class com.nirro.konfi.repository.RepositoryImpl
 
refresh(Object) - Static method in class com.nirro.konfi.Konfi
refresh properties associated with the konfi instance
Repositories - Class in com.nirro.konfi.repository
Factory methods for repositories
Repository - Interface in com.nirro.konfi.repository
Repository manage the access to the property source
RepositoryImpl - Class in com.nirro.konfi.repository
Thread safe repository that replace the properties on every refresh
RepositoryImpl(PropertiesSource) - Constructor for class com.nirro.konfi.repository.RepositoryImpl
Construct a new Repository
resolve(Type, Class<?>, Type) - Static method in class com.nirro.konfi.reflection.Types
resolve type
returnType() - Method in record class com.nirro.konfi.invocationhandler.MethodMetadata
Returns the value of the returnType record component.

S

since() - Element in annotation interface com.nirro.konfi.annotation.KonfiProperty
since
since() - Method in record class com.nirro.konfi.invocationhandler.MethodMetadata
Returns the value of the since record component.
SourceAccessException - Exception in com.nirro.konfi.exception
A SourceAccessException is thrown when unable to receive properties from source
SourceAccessException() - Constructor for exception com.nirro.konfi.exception.SourceAccessException
Creates a new source access exception
SourceAccessException(String) - Constructor for exception com.nirro.konfi.exception.SourceAccessException
Creates a new source access exception
SourceAccessException(String, Throwable) - Constructor for exception com.nirro.konfi.exception.SourceAccessException
Creates a new source access exception
SourceAccessException(Throwable) - Constructor for exception com.nirro.konfi.exception.SourceAccessException
Creates a new source access exception
sources(List<PropertiesSource>) - Method in class com.nirro.konfi.Konfi.Builder
 
sources(List<PropertiesSource>) - Method in interface com.nirro.konfi.Konfi.PropertySourcesStep
Property Sources for properties lookup
SystemProperties - Class in com.nirro.konfi.source
System properties source
SystemProperties() - Constructor for class com.nirro.konfi.source.SystemProperties
Creates a new SystemPropertiesSupplier

T

toString() - Method in record class com.nirro.konfi.invocationhandler.MethodMetadata
Returns a string representation of this record class.
Types - Class in com.nirro.konfi.reflection
Static methods for working with types.
B C D E G H I K M N P R S T 
All Classes and Interfaces|All Packages|Serialized Form