Serializable
Accessible
, Mutable
, Reloadable
public interface Config extends Serializable
Sub-interfaces may also extend Accessible
to allow some debugging facility, or Reloadable
to allow the
user to programmatically reload properties.
Properties
Modifier and Type | Interface | Description |
---|---|---|
static interface |
Config.ConverterClass |
Specifies a
class to allow the user to define a custom conversion logic for the
type returned by the method. |
static interface |
Config.DecryptorClass |
When a value should be decrypted this annotation is needed.
|
static interface |
Config.DefaultValue |
Default value to be used if no property is found.
|
static class |
Config.DisableableFeature |
This enum contains the features that can be disabled using the annotation
Config.DisableFeature . |
static interface |
Config.DisableFeature |
Specifies to disable some of the features supported by the API.
|
static interface |
Config.EncryptedValue |
When a value should be decrypted this annotation is needed.
|
static interface |
Config.HotReload |
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). |
static class |
Config.HotReloadType |
Allows to specify which type of HotReload should be applied.
|
static interface |
Config.Key |
The key used for lookup for the property.
|
static interface |
Config.LoadPolicy |
Specifies the policy for loading the properties files.
|
static class |
Config.LoadType |
Specifies the policy type to use to load the
Config.Sources files for properties. |
static interface |
Config.PreprocessorClasses |
Specifies a
class to allow the user to define a custom logic to pre-process
the property value before being used by the library. |
static interface |
Config.Separator |
Specifies simple
as separator to tokenize properties values specified as a
single string value, into elements for vectors and collections. |
static interface |
Config.Sources |
Specifies the source from which to load the properties file.
|
static interface |
Config.TokenizerClass |
Specifies a
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. |
Copyright © 2012–2020 Luigi R. Viggiano. All rights reserved.