- clear() - Static method in class org.aeonbits.owner.ConfigCache
-
Removes all of the cached instances.
- clear() - Method in interface org.aeonbits.owner.Mutable
-
Clears all properties.
- clearProperty(String) - Static method in class org.aeonbits.owner.ConfigFactory
-
Clears the value for the property having the given key.
- clearProperty(String) - Method in interface org.aeonbits.owner.Factory
-
Clears the value for the property having the given key.
- Collections - Class in org.aeonbits.owner.util
-
Utility class to create a maps, lists and sets
- Config - Interface in org.aeonbits.owner
-
Marker interface that must be implemented by all Config sub-interfaces.
- Config.ConverterClass - Annotation Type in org.aeonbits.owner
-
Specifies a
Converter
class to allow the user to define a custom conversion logic for the
type returned by the method.
- Config.DecryptorClass - Annotation Type in org.aeonbits.owner
-
When a value should be decrypted this annotation is needed.
- Config.DefaultValue - Annotation Type in org.aeonbits.owner
-
Default value to be used if no property is found.
- Config.DisableableFeature - Enum in org.aeonbits.owner
-
- Config.DisableFeature - Annotation Type in org.aeonbits.owner
-
Specifies to disable some of the features supported by the API.
- Config.EncryptedValue - Annotation Type in org.aeonbits.owner
-
When a value should be decrypted this annotation is needed.
- Config.HotReload - Annotation Type in org.aeonbits.owner
-
Specify that the class implements hot reloading of properties from filesystem baked
Config.Sources
(hot
reloading can't be applied to all types of URIs).
- Config.HotReloadType - Enum in org.aeonbits.owner
-
Allows to specify which type of HotReload should be applied.
- Config.Key - Annotation Type in org.aeonbits.owner
-
The key used for lookup for the property.
- Config.LoadPolicy - Annotation Type in org.aeonbits.owner
-
Specifies the policy for loading the properties files.
- Config.LoadType - Enum in org.aeonbits.owner
-
Specifies the policy type to use to load the
Config.Sources
files for properties.
- Config.PreprocessorClasses - Annotation Type in org.aeonbits.owner
-
Specifies a
Preprocessor
class to allow the user to define a custom logic to pre-process
the property value before being used by the library.
- Config.Separator - Annotation Type in org.aeonbits.owner
-
Specifies simple
String
as separator to tokenize properties values specified as a
single string value, into elements for vectors and collections.
- Config.Sources - Annotation Type in org.aeonbits.owner
-
Specifies the source from which to load the properties file.
- Config.TokenizerClass - Annotation Type in org.aeonbits.owner
-
Specifies a
Tokenizer
class to allow the user to define a custom logic to split
the property value into tokens to be used as single elements for vectors and collections.
- ConfigCache - Class in org.aeonbits.owner
-
Utility class caching Config instances that can be used as Singletons.
- ConfigFactory - Class in org.aeonbits.owner
-
A static factory class to instantiate
Config
instances.
- convert(Method, String) - Method in interface org.aeonbits.owner.Converter
-
Converts the given input into an Object of type T.
- convert(Method, String) - Method in class org.aeonbits.owner.converters.ByteSizeConverter
-
- convert(Method, String) - Method in class org.aeonbits.owner.converters.DurationConverter
-
- Converter<T> - Interface in org.aeonbits.owner
-
Converter interface specifies how to convert an input string coming from a property value to a target object returned
by the Config method.
- convertTo(ByteSizeUnit) - Method in class org.aeonbits.owner.util.bytesize.ByteSize
-
Creates a new
ByteSize
representing the same byte size but in a different unit.
- create(Class<? extends T>, Map<?, ?>...) - Static method in class org.aeonbits.owner.ConfigFactory
-
Creates a
Config
instance from the specified interface
- create(Class<? extends T>, Map<?, ?>...) - Method in interface org.aeonbits.owner.Factory
-
Creates a
Config
instance from the specified interface
- get(Object) - Static method in class org.aeonbits.owner.ConfigCache
-
Gets from the cache the
Config
instance identified by the given key.
- getBytes() - Method in class org.aeonbits.owner.util.bytesize.ByteSize
-
Returns the number of bytes that this byte size represents after multiplying the unit factor with the value.
- getBytesAsInt() - Method in class org.aeonbits.owner.util.bytesize.ByteSize
-
Returns the number of bytes that this byte size represents as an int
after multiplying the unit
factor with the value, throwing an exception if the result overflows an int
.
- getBytesAsLong() - Method in class org.aeonbits.owner.util.bytesize.ByteSize
-
Returns the number of bytes that this byte size represents as a long
after multiplying the unit
factor with the value, throwing an exception if the result overflows a long
.
- getenv() - Method in interface org.aeonbits.owner.util.Util.SystemProvider
-
- getEvents() - Method in class org.aeonbits.owner.event.ReloadEvent
-
Returns The
change events
regarding which properties have been modified during the
reload.
- getFactor() - Method in enum org.aeonbits.owner.util.bytesize.ByteSizeUnit
-
- getNewProperties() - Method in class org.aeonbits.owner.event.ReloadEvent
-
Returns the properties after the reload.
- getOldProperties() - Method in class org.aeonbits.owner.event.ReloadEvent
-
Returns the properties before the reload.
- getOrCreate(Class<? extends T>, Map<?, ?>...) - Static method in class org.aeonbits.owner.ConfigCache
-
Gets from the cache or create, an instance of the given class using the given imports.
- getOrCreate(Object, Class<? extends T>, Map<?, ?>...) - Static method in class org.aeonbits.owner.ConfigCache
-
Gets from the cache or create, an instance of the given class using the given imports.
- getOrCreate(Factory, Class<? extends T>, Map<?, ?>...) - Static method in class org.aeonbits.owner.ConfigCache
-
Gets from the cache or create, an instance of the given class using the given imports.
- getOrCreate(Factory, Object, Class<? extends T>, Map<?, ?>...) - Static method in class org.aeonbits.owner.ConfigCache
-
Gets from the cache or create, an instance of the given class using the given imports.
- getProperties() - Static method in class org.aeonbits.owner.ConfigFactory
-
Those properties will be used to expand variables specified in the `@Source` annotation, or by the ConfigFactory
to configure its own behavior.
- getProperties() - Method in interface org.aeonbits.owner.Factory
-
Those properties will be used to expand variables specified in the `@Source` annotation, or by the ConfigFactory
to configure its own behavior.
- getProperties() - Method in interface org.aeonbits.owner.util.Util.SystemProvider
-
- getProperty(String) - Method in interface org.aeonbits.owner.Accessible
-
Searches for the property with the specified key in this property list.
- getProperty(String) - Static method in class org.aeonbits.owner.ConfigFactory
-
Returns the value for a given property.
- getProperty(String) - Method in interface org.aeonbits.owner.Factory
-
Returns the value for a given property.
- getProperty(String) - Method in interface org.aeonbits.owner.util.Util.SystemProvider
-
- getProperty(String, String) - Method in interface org.aeonbits.owner.Accessible
-
Searches for the property with the specified key in this property list.
- getTime() - Method in interface org.aeonbits.owner.util.Util.TimeProvider
-
- GIBIBYTES - org.aeonbits.owner.util.bytesize.ByteSizeUnit
-
The IEC gibibyte.
- GIGABYTES - org.aeonbits.owner.util.bytesize.ByteSizeUnit
-
The SI gigabyte.
- valueOf(String) - Static method in enum org.aeonbits.owner.Config.DisableableFeature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.aeonbits.owner.Config.HotReloadType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.aeonbits.owner.Config.LoadType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.aeonbits.owner.util.bytesize.ByteSizeStandard
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.aeonbits.owner.util.bytesize.ByteSizeUnit
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.aeonbits.owner.Config.DisableableFeature
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.aeonbits.owner.Config.HotReloadType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.aeonbits.owner.Config.LoadType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.aeonbits.owner.util.bytesize.ByteSizeStandard
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.aeonbits.owner.util.bytesize.ByteSizeUnit
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VARIABLE_EXPANSION - org.aeonbits.owner.Config.DisableableFeature
-