Interface ConfigurationUpdate<A extends ConfigurationUpdate<A,B>,B extends ExecutableConfigurationUpdate<A,B>>

Type Parameters:
A - the update type
B - the executable update type
All Known Implementing Classes:
RedisConfigurationSource.RedisConfigurationUpdate, VersionedRedisConfigurationSource.VersionedRedisConfigurationUpdate

public interface ConfigurationUpdate<A extends ConfigurationUpdate<A,B>,B extends ExecutableConfigurationUpdate<A,B>>

A configuration update is used to set or update configuration properties in a configurable configuration source.

Since:
1.0
Author:
Jeremy Kuhn
See Also:
  • Method Details

    • set

      default B set(String name1, Object value1)

      Creates a configuration update to set one configuration property in the configuration source.

      Parameters:
      name1 - the property key
      value1 - the property value
      Returns:
      an executable configuration update
    • set

      default B set(String name1, Object value1, String name2, Object value2)

      Creates a configuration update to set two configuration properties in the configuration source.

      Parameters:
      name1 - the first property key
      value1 - the first property value
      name2 - the second property key
      value2 - 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 key
      value1 - the first property value
      name2 - the second property key
      value2 - the second property value
      name3 - the third property key
      value3 - 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 key
      value1 - the first property value
      name2 - the second property key
      value2 - the second property value
      name3 - the third property key
      value3 - the third property value
      name4 - the fourth property key
      value4 - 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 key
      value1 - the first property value
      name2 - the second property key
      value2 - the second property value
      name3 - the third property key
      value3 - the third property value
      name4 - the fourth property key
      value4 - the fourth property value
      name5 - the fifth property key
      value5 - 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 key
      value1 - the first property value
      name2 - the second property key
      value2 - the second property value
      name3 - the third property key
      value3 - the third property value
      name4 - the fourth property key
      value4 - the fourth property value
      name5 - the fifth property key
      value5 - the fifth property value
      name6 - the sixth property key
      value6 - 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 key
      value1 - the first property value
      name2 - the second property key
      value2 - the second property value
      name3 - the third property key
      value3 - the third property value
      name4 - the fourth property key
      value4 - the fourth property value
      name5 - the fifth property key
      value5 - the fifth property value
      name6 - the sixth property key
      value6 - the sixth property value
      name7 - the seventh property key
      value7 - 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 key
      value1 - the first property value
      name2 - the second property key
      value2 - the second property value
      name3 - the third property key
      value3 - the third property value
      name4 - the fourth property key
      value4 - the fourth property value
      name5 - the fifth property key
      value5 - the fifth property value
      name6 - the sixth property key
      value6 - the sixth property value
      name7 - the seventh property key
      value7 - the seventh property value
      name8 - the eighth property key
      value8 - 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 key
      value1 - the first property value
      name2 - the second property key
      value2 - the second property value
      name3 - the third property key
      value3 - the third property value
      name4 - the fourth property key
      value4 - the fourth property value
      name5 - the fifth property key
      value5 - the fifth property value
      name6 - the sixth property key
      value6 - the sixth property value
      name7 - the seventh property key
      value7 - the seventh property value
      name8 - the eighth property key
      value8 - the eighth property value
      name9 - the ninth property key
      value9 - 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 key
      value1 - the first property value
      name2 - the second property key
      value2 - the second property value
      name3 - the third property key
      value3 - the third property value
      name4 - the fourth property key
      value4 - the fourth property value
      name5 - the fifth property key
      value5 - the fifth property value
      name6 - the sixth property key
      value6 - the sixth property value
      name7 - the seventh property key
      value7 - the seventh property value
      name8 - the eighth property key
      value8 - the eighth property value
      name9 - the ninth property key
      value9 - the ninth property value
      name10 - the tenth property key
      value10 - 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