Interface ConfigurationUpdate<A extends ConfigurationUpdate<A,B>,B extends ExecutableConfigurationUpdate<A,B>>
- Type Parameters:
A
- the update typeB
- the executable update type
- All Known Implementing Classes:
RedisConfigurationSource.RedisConfigurationUpdate
,VersionedRedisConfigurationSource.VersionedRedisConfigurationUpdate
A configuration update is used to set or update configuration properties in a configurable configuration source.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Defines constants used to set special values. -
Method Summary
Modifier and TypeMethodDescriptiondefault B
Creates a configuration update to set one configuration property in the configuration source.default B
Creates a configuration update to set two configuration properties in the configuration source.default B
Creates a configuration update to set three configuration properties in the configuration source.default B
set
(String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4) Creates a configuration update to set four configuration properties in the configuration source.default B
set
(String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4, String name5, Object value5) Creates a configuration update to set five configuration properties in the configuration source.default B
set
(String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4, String name5, Object value5, String name6, Object value6) Creates a configuration update to set six configuration properties in the configuration source.default B
set
(String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4, String name5, Object value5, String name6, Object value6, String name7, Object value7) Creates a configuration update to set seven configuration properties in the configuration source.default B
set
(String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4, String name5, Object value5, String name6, Object value6, String name7, Object value7, String name8, Object value8) Creates a configuration update to set eight configuration properties in the configuration source.default B
set
(String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4, String name5, Object value5, String name6, Object value6, String name7, Object value7, String name8, Object value8, String name9, Object value9) Creates a configuration update to set nine configuration properties in the configuration source.default B
set
(String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4, String name5, Object value5, String name6, Object value6, String name7, Object value7, String name8, Object value8, String name9, Object value9, String name10, Object value10) Creates a configuration update to set ten configuration properties in the configuration source.Creates a configuration update to set the configuration properties extracted from the specified values.
-
Method Details
-
set
Creates a configuration update to set one configuration property in the configuration source.
- Parameters:
name1
- the property keyvalue1
- the property value- Returns:
- an executable configuration update
-
set
Creates a configuration update to set two configuration properties in the configuration source.
- Parameters:
name1
- the first property keyvalue1
- the first property valuename2
- the second property keyvalue2
- the second property value- Returns:
- an executable configuration update
-
set
default B set(String name1, Object value1, String name2, Object value2, String name3, Object value3) Creates a configuration update to set three configuration properties in the configuration source.
- Parameters:
name1
- the first property keyvalue1
- the first property valuename2
- the second property keyvalue2
- the second property valuename3
- the third property keyvalue3
- the third property value- Returns:
- an executable configuration update
-
set
default B set(String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4) Creates a configuration update to set four configuration properties in the configuration source.
- Parameters:
name1
- the first property keyvalue1
- the first property valuename2
- the second property keyvalue2
- the second property valuename3
- the third property keyvalue3
- the third property valuename4
- the fourth property keyvalue4
- the fourth property value- Returns:
- an executable configuration update
-
set
default B set(String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4, String name5, Object value5) Creates a configuration update to set five configuration properties in the configuration source.
- Parameters:
name1
- the first property keyvalue1
- the first property valuename2
- the second property keyvalue2
- the second property valuename3
- the third property keyvalue3
- the third property valuename4
- the fourth property keyvalue4
- the fourth property valuename5
- the fifth property keyvalue5
- the fifth property value- Returns:
- an executable configuration update
-
set
default B set(String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4, String name5, Object value5, String name6, Object value6) Creates a configuration update to set six configuration properties in the configuration source.
- Parameters:
name1
- the first property keyvalue1
- the first property valuename2
- the second property keyvalue2
- the second property valuename3
- the third property keyvalue3
- the third property valuename4
- the fourth property keyvalue4
- the fourth property valuename5
- the fifth property keyvalue5
- the fifth property valuename6
- the sixth property keyvalue6
- the sixth property value- Returns:
- an executable configuration update
-
set
default B set(String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4, String name5, Object value5, String name6, Object value6, String name7, Object value7) Creates a configuration update to set seven configuration properties in the configuration source.
- Parameters:
name1
- the first property keyvalue1
- the first property valuename2
- the second property keyvalue2
- the second property valuename3
- the third property keyvalue3
- the third property valuename4
- the fourth property keyvalue4
- the fourth property valuename5
- the fifth property keyvalue5
- the fifth property valuename6
- the sixth property keyvalue6
- the sixth property valuename7
- the seventh property keyvalue7
- the seventh property value- Returns:
- an executable configuration update
-
set
default B set(String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4, String name5, Object value5, String name6, Object value6, String name7, Object value7, String name8, Object value8) Creates a configuration update to set eight configuration properties in the configuration source.
- Parameters:
name1
- the first property keyvalue1
- the first property valuename2
- the second property keyvalue2
- the second property valuename3
- the third property keyvalue3
- the third property valuename4
- the fourth property keyvalue4
- the fourth property valuename5
- the fifth property keyvalue5
- the fifth property valuename6
- the sixth property keyvalue6
- the sixth property valuename7
- the seventh property keyvalue7
- the seventh property valuename8
- the eighth property keyvalue8
- the eighth property value- Returns:
- an executable configuration update
-
set
default B set(String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4, String name5, Object value5, String name6, Object value6, String name7, Object value7, String name8, Object value8, String name9, Object value9) Creates a configuration update to set nine configuration properties in the configuration source.
- Parameters:
name1
- the first property keyvalue1
- the first property valuename2
- the second property keyvalue2
- the second property valuename3
- the third property keyvalue3
- the third property valuename4
- the fourth property keyvalue4
- the fourth property valuename5
- the fifth property keyvalue5
- the fifth property valuename6
- the sixth property keyvalue6
- the sixth property valuename7
- the seventh property keyvalue7
- the seventh property valuename8
- the eighth property keyvalue8
- the eighth property valuename9
- the ninth property keyvalue9
- the ninth property value- Returns:
- an executable configuration update
-
set
default B set(String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4, String name5, Object value5, String name6, Object value6, String name7, Object value7, String name8, Object value8, String name9, Object value9, String name10, Object value10) Creates a configuration update to set ten configuration properties in the configuration source.
- Parameters:
name1
- the first property keyvalue1
- the first property valuename2
- the second property keyvalue2
- the second property valuename3
- the third property keyvalue3
- the third property valuename4
- the fourth property keyvalue4
- the fourth property valuename5
- the fifth property keyvalue5
- the fifth property valuename6
- the sixth property keyvalue6
- the sixth property valuename7
- the seventh property keyvalue7
- the seventh property valuename8
- the eighth property keyvalue8
- the eighth property valuename9
- the ninth property keyvalue9
- the ninth property valuename10
- the tenth property keyvalue10
- the tenth property value- Returns:
- an executable configuration update
-
set
Creates a configuration update to set the configuration properties extracted from the specified values.
- Parameters:
values
- a map containing properties keys and values to set in the configuration source- Returns:
- an executable configuration update
- Throws:
IllegalArgumentException
- if the map of properties is null or empty
-