A B C D E G I L M N O P R S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractDynamicConfigSource - Class in com.avanza.astrix.config
-
Skeleton implementation of a
DynamicConfigSource. - AbstractDynamicConfigSource() - Constructor for class com.avanza.astrix.config.AbstractDynamicConfigSource
- addListener(DynamicConfigListener) - Method in class com.avanza.astrix.config.DynamicConfig
-
Adds a listener to this DynamicConfig instance.
- addListener(DynamicPropertyListener<Boolean>) - Method in class com.avanza.astrix.config.DynamicBooleanProperty
- addListener(DynamicPropertyListener<Integer>) - Method in class com.avanza.astrix.config.DynamicIntProperty
- addListener(DynamicPropertyListener<Long>) - Method in class com.avanza.astrix.config.DynamicLongProperty
- addListener(DynamicPropertyListener<T>) - Method in class com.avanza.astrix.config.DynamicOptionalProperty
- addListener(DynamicPropertyListener<T>) - Method in interface com.avanza.astrix.config.DynamicProperty
-
Adds a given listener to the underlying property.
B
- BooleanSetting - Class in com.avanza.astrix.config
-
A Setting of boolean type, see
Setting
C
- com.avanza.astrix.config - package com.avanza.astrix.config
-
A framework containing core abstractions for dynamic configuration lookup.
- ConfigSource - Interface in com.avanza.astrix.config
-
The SPI used to plug in a configuration source into a
DynamicConfiginstance. - create(ConfigSource, ConfigSource...) - Static method in class com.avanza.astrix.config.DynamicConfig
-
Creates a
DynamicConfiginstance resolving configuration properties using the defined set ofConfigSource's (possiblyDynamicConfigSource). - create(String, boolean) - Static method in class com.avanza.astrix.config.BooleanSetting
- create(String, int) - Static method in class com.avanza.astrix.config.IntSetting
- create(String, long) - Static method in class com.avanza.astrix.config.LongSetting
- create(String, Class<T>, T) - Static method in class com.avanza.astrix.config.EnumSetting
- create(String, String) - Static method in class com.avanza.astrix.config.StringSetting
- create(List<? extends ConfigSource>) - Static method in class com.avanza.astrix.config.DynamicConfig
D
- defaultValue() - Method in class com.avanza.astrix.config.BooleanSetting
- defaultValue() - Method in class com.avanza.astrix.config.EnumSetting
- defaultValue() - Method in class com.avanza.astrix.config.IntSetting
- defaultValue() - Method in class com.avanza.astrix.config.LongSetting
- defaultValue() - Method in interface com.avanza.astrix.config.Setting
-
The default value for this setting.
- defaultValue() - Method in class com.avanza.astrix.config.StringSetting
- DynamicBooleanProperty - Class in com.avanza.astrix.config
-
DynamicProperty of boolean type, see
DynamicProperty. - DynamicBooleanProperty() - Constructor for class com.avanza.astrix.config.DynamicBooleanProperty
- DynamicBooleanProperty(boolean) - Constructor for class com.avanza.astrix.config.DynamicBooleanProperty
- DynamicConfig - Class in com.avanza.astrix.config
-
This is an abstraction for a hierarchical set of configuration sources.
- DynamicConfig(ConfigSource) - Constructor for class com.avanza.astrix.config.DynamicConfig
- DynamicConfig(List<? extends ConfigSource>) - Constructor for class com.avanza.astrix.config.DynamicConfig
- DynamicConfigListener - Interface in com.avanza.astrix.config
-
Listener interface for listening to state changes in all
DynamicPropertyinstances managed by a singleDynamicConfiginstance. - DynamicConfigSource - Interface in com.avanza.astrix.config
-
The SPI used to plug in a dynamic configuration source into a
DynamicConfiginstance. - DynamicEnumProperty<T extends Enum<T>> - Class in com.avanza.astrix.config
- DynamicEnumProperty() - Constructor for class com.avanza.astrix.config.DynamicEnumProperty
- DynamicIntProperty - Class in com.avanza.astrix.config
-
DynamicProperty of int type, see
DynamicProperty. - DynamicIntProperty() - Constructor for class com.avanza.astrix.config.DynamicIntProperty
- DynamicIntProperty(int) - Constructor for class com.avanza.astrix.config.DynamicIntProperty
- DynamicListProperty<T> - Class in com.avanza.astrix.config
-
DynamicProperty of List
type, see DynamicProperty. - DynamicListProperty() - Constructor for class com.avanza.astrix.config.DynamicListProperty
- DynamicListProperty(List<T>) - Constructor for class com.avanza.astrix.config.DynamicListProperty
- DynamicLongProperty - Class in com.avanza.astrix.config
-
DynamicProperty of int type, see
DynamicProperty. - DynamicLongProperty() - Constructor for class com.avanza.astrix.config.DynamicLongProperty
- DynamicLongProperty(long) - Constructor for class com.avanza.astrix.config.DynamicLongProperty
- DynamicOptionalProperty<T> - Class in com.avanza.astrix.config
- DynamicOptionalProperty(DynamicProperty<T>) - Constructor for class com.avanza.astrix.config.DynamicOptionalProperty
- DynamicProperty<T> - Interface in com.avanza.astrix.config
-
A property that can change state even after it is read from a
DynamicConfigSource. - DynamicPropertyListener<T> - Interface in com.avanza.astrix.config
-
Listener interface for subscribing to a
DynamicPropertyinstance. - DynamicSetProperty<T> - Class in com.avanza.astrix.config
-
DynamicProperty of Set
type, see DynamicProperty. - DynamicSetProperty() - Constructor for class com.avanza.astrix.config.DynamicSetProperty
- DynamicSetProperty(Set<T>) - Constructor for class com.avanza.astrix.config.DynamicSetProperty
- DynamicStringProperty - Class in com.avanza.astrix.config
-
DynamicProperty of String type, see
DynamicProperty. - DynamicStringProperty() - Constructor for class com.avanza.astrix.config.DynamicStringProperty
- DynamicStringProperty(String) - Constructor for class com.avanza.astrix.config.DynamicStringProperty
E
- EnumSetting<T extends Enum<T>> - Class in com.avanza.astrix.config
-
A Setting of Enum type, see
Setting - EnumSetting(String, Class<T>, T) - Constructor for class com.avanza.astrix.config.EnumSetting
G
- get() - Method in class com.avanza.astrix.config.DynamicBooleanProperty
- get() - Method in class com.avanza.astrix.config.DynamicIntProperty
- get() - Method in class com.avanza.astrix.config.DynamicLongProperty
- get() - Method in class com.avanza.astrix.config.DynamicOptionalProperty
- get() - Method in class com.avanza.astrix.config.DynamicStringProperty
- get(String) - Method in class com.avanza.astrix.config.AbstractDynamicConfigSource
- get(String) - Method in interface com.avanza.astrix.config.ConfigSource
-
Reads a property from this ConfigSource.
- get(String) - Method in class com.avanza.astrix.config.PropertiesConfigSource
- get(String) - Method in class com.avanza.astrix.config.SystemPropertiesConfigSource
- get(String, DynamicPropertyListener<String>) - Method in interface com.avanza.astrix.config.DynamicConfigSource
-
Returns a configuration property from this configuration source.
- get(String, DynamicPropertyListener<String>) - Method in class com.avanza.astrix.config.MapConfigSource
- getAsBoolean() - Method in class com.avanza.astrix.config.DynamicBooleanProperty
- getAsInt() - Method in class com.avanza.astrix.config.DynamicIntProperty
- getAsLong() - Method in class com.avanza.astrix.config.DynamicLongProperty
- getBooleanListProperty(String, List<Boolean>) - Method in class com.avanza.astrix.config.DynamicConfig
- getBooleanProperty(String, boolean) - Method in class com.avanza.astrix.config.DynamicConfig
- getConfigSource(String) - Static method in class com.avanza.astrix.config.GlobalConfigSourceRegistry
- getCurrentValue() - Method in class com.avanza.astrix.config.DynamicBooleanProperty
- getCurrentValue() - Method in class com.avanza.astrix.config.DynamicIntProperty
- getCurrentValue() - Method in class com.avanza.astrix.config.DynamicLongProperty
- getCurrentValue() - Method in class com.avanza.astrix.config.DynamicOptionalProperty
- getCurrentValue() - Method in interface com.avanza.astrix.config.DynamicProperty
-
Returns the current value of this DynamicProperty.
- getCurrentValue() - Method in class com.avanza.astrix.config.DynamicStringProperty
- getEnumListProperty(String, Class<T>, List<T>) - Method in class com.avanza.astrix.config.DynamicConfig
- getEnumProperty(String, Class<T>, T) - Method in class com.avanza.astrix.config.DynamicConfig
- getEnumSetProperty(String, Class<T>, Set<T>) - Method in class com.avanza.astrix.config.DynamicConfig
- getFrom(DynamicConfig) - Method in class com.avanza.astrix.config.BooleanSetting
- getFrom(DynamicConfig) - Method in class com.avanza.astrix.config.EnumSetting
- getFrom(DynamicConfig) - Method in class com.avanza.astrix.config.IntSetting
- getFrom(DynamicConfig) - Method in class com.avanza.astrix.config.LongSetting
- getFrom(DynamicConfig) - Method in interface com.avanza.astrix.config.Setting
-
Reads this Setting from the given
DynamicConfiginstance. - getFrom(DynamicConfig) - Method in class com.avanza.astrix.config.StringSetting
- getIntListProperty(String, List<Integer>) - Method in class com.avanza.astrix.config.DynamicConfig
- getIntProperty(String, int) - Method in class com.avanza.astrix.config.DynamicConfig
- getLongListProperty(String, List<Long>) - Method in class com.avanza.astrix.config.DynamicConfig
- getLongProperty(String, long) - Method in class com.avanza.astrix.config.DynamicConfig
- getOptionalBooleanProperty(String) - Method in class com.avanza.astrix.config.DynamicConfig
- getOptionalEnumProperty(String, Class<T>) - Method in class com.avanza.astrix.config.DynamicConfig
- getOptionalIntegerProperty(String) - Method in class com.avanza.astrix.config.DynamicConfig
- getOptionalLongProperty(String) - Method in class com.avanza.astrix.config.DynamicConfig
- getOptionalStringProperty(String) - Method in class com.avanza.astrix.config.DynamicConfig
- getStringListProperty(String, List<String>) - Method in class com.avanza.astrix.config.DynamicConfig
- getStringProperty(String, String) - Method in class com.avanza.astrix.config.DynamicConfig
-
Reads a property of String type.
- GlobalConfigSourceRegistry - Class in com.avanza.astrix.config
-
This is a jvm global registry for ConfigSources, mainly intended to support testing.
I
- IntSetting - Class in com.avanza.astrix.config
-
A Setting of int type, see
Setting
L
- LongSetting - Class in com.avanza.astrix.config
-
A Setting of long type, see
Setting
M
- MapConfigSource - Class in com.avanza.astrix.config
-
Map backed
DynamicConfigSourceuseful in testing. - MapConfigSource() - Constructor for class com.avanza.astrix.config.MapConfigSource
- merged(DynamicConfig, DynamicConfig) - Static method in class com.avanza.astrix.config.DynamicConfig
- MutableConfigSource - Interface in com.avanza.astrix.config
-
Most used by test-utility classes to allow setting configuration programmatically.
N
- name() - Method in class com.avanza.astrix.config.BooleanSetting
- name() - Method in class com.avanza.astrix.config.EnumSetting
- name() - Method in class com.avanza.astrix.config.IntSetting
- name() - Method in class com.avanza.astrix.config.LongSetting
- name() - Method in interface com.avanza.astrix.config.Setting
-
The name of this Setting.
- name() - Method in class com.avanza.astrix.config.StringSetting
O
- of(String, Object) - Static method in class com.avanza.astrix.config.MapConfigSource
- of(String, Object, String, Object) - Static method in class com.avanza.astrix.config.MapConfigSource
- of(String, Object, String, Object, String, Object) - Static method in class com.avanza.astrix.config.MapConfigSource
- of(Map<String, ?>) - Static method in class com.avanza.astrix.config.MapConfigSource
- optionalClasspathPropertiesFile(String) - Static method in class com.avanza.astrix.config.PropertiesConfigSource
P
- PropertiesConfigSource - Class in com.avanza.astrix.config
-
ConfigSourceimplementation delegating all property lookup to aPropertiesinstance. - PropertiesConfigSource(Properties) - Constructor for class com.avanza.astrix.config.PropertiesConfigSource
- propertyChanged(String, Object) - Method in interface com.avanza.astrix.config.DynamicConfigListener
-
Invoked each time the value of a
DynamicPropertyinstance changes. - propertyChanged(T) - Method in interface com.avanza.astrix.config.DynamicPropertyListener
-
Invoked each time the value of a
DynamicPropertyinstance changes. - propertyCreated(String, Object) - Method in interface com.avanza.astrix.config.DynamicConfigListener
-
Invoked the first time a property with a given name is requested from a
DynamicConfiginstance, i.e.
R
- register(ConfigSource) - Static method in class com.avanza.astrix.config.GlobalConfigSourceRegistry
- removeListener(DynamicPropertyListener<Boolean>) - Method in class com.avanza.astrix.config.DynamicBooleanProperty
- removeListener(DynamicPropertyListener<Integer>) - Method in class com.avanza.astrix.config.DynamicIntProperty
- removeListener(DynamicPropertyListener<Long>) - Method in class com.avanza.astrix.config.DynamicLongProperty
- removeListener(DynamicPropertyListener<T>) - Method in class com.avanza.astrix.config.DynamicOptionalProperty
- removeListener(DynamicPropertyListener<T>) - Method in interface com.avanza.astrix.config.DynamicProperty
-
Removes a given listener.
S
- set(boolean) - Method in class com.avanza.astrix.config.DynamicBooleanProperty
- set(int) - Method in class com.avanza.astrix.config.DynamicIntProperty
- set(long) - Method in class com.avanza.astrix.config.DynamicLongProperty
- set(BooleanSetting, boolean) - Method in class com.avanza.astrix.config.MapConfigSource
- set(BooleanSetting, boolean) - Method in interface com.avanza.astrix.config.MutableConfigSource
- set(EnumSetting<T>, T) - Method in class com.avanza.astrix.config.MapConfigSource
- set(EnumSetting<T>, T) - Method in interface com.avanza.astrix.config.MutableConfigSource
- set(IntSetting, int) - Method in class com.avanza.astrix.config.MapConfigSource
- set(IntSetting, int) - Method in interface com.avanza.astrix.config.MutableConfigSource
- set(LongSetting, long) - Method in class com.avanza.astrix.config.MapConfigSource
- set(LongSetting, long) - Method in interface com.avanza.astrix.config.MutableConfigSource
- set(Setting<T>, T) - Method in class com.avanza.astrix.config.MapConfigSource
- set(Setting<T>, T) - Method in interface com.avanza.astrix.config.MutableConfigSource
- set(String) - Method in class com.avanza.astrix.config.DynamicStringProperty
- set(String, String) - Method in class com.avanza.astrix.config.MapConfigSource
- set(List<T>) - Method in class com.avanza.astrix.config.DynamicListProperty
- set(Set<T>) - Method in class com.avanza.astrix.config.DynamicSetProperty
- setAll(MapConfigSource) - Method in class com.avanza.astrix.config.MapConfigSource
- Setting<T> - Interface in com.avanza.astrix.config
-
This is an abstraction for an application/framework setting.
- setValue(Boolean) - Method in class com.avanza.astrix.config.DynamicBooleanProperty
- setValue(Integer) - Method in class com.avanza.astrix.config.DynamicIntProperty
- setValue(Long) - Method in class com.avanza.astrix.config.DynamicLongProperty
- setValue(String) - Method in class com.avanza.astrix.config.DynamicStringProperty
- setValue(List<T>) - Method in class com.avanza.astrix.config.DynamicListProperty
- setValue(Set<T>) - Method in class com.avanza.astrix.config.DynamicSetProperty
- setValue(T) - Method in class com.avanza.astrix.config.DynamicOptionalProperty
- setValue(T) - Method in interface com.avanza.astrix.config.DynamicProperty
-
Sets the value of this DynamicProperty.
- StringSetting - Class in com.avanza.astrix.config
-
A Setting of String type, see
Setting - StringSetting(String, String) - Constructor for class com.avanza.astrix.config.StringSetting
- SystemPropertiesConfigSource - Class in com.avanza.astrix.config
-
A
ConfigSourcethat resolves a property by reading system properties. - SystemPropertiesConfigSource() - Constructor for class com.avanza.astrix.config.SystemPropertiesConfigSource
T
- toString() - Method in class com.avanza.astrix.config.DynamicBooleanProperty
- toString() - Method in class com.avanza.astrix.config.DynamicConfig
- toString() - Method in class com.avanza.astrix.config.DynamicEnumProperty
- toString() - Method in class com.avanza.astrix.config.DynamicIntProperty
- toString() - Method in class com.avanza.astrix.config.DynamicListProperty
- toString() - Method in class com.avanza.astrix.config.DynamicLongProperty
- toString() - Method in class com.avanza.astrix.config.DynamicOptionalProperty
- toString() - Method in class com.avanza.astrix.config.DynamicSetProperty
- toString() - Method in class com.avanza.astrix.config.DynamicStringProperty
- toString() - Method in class com.avanza.astrix.config.MapConfigSource
- toString() - Method in class com.avanza.astrix.config.PropertiesConfigSource
All Classes All Packages