Config.Builder¶
Methods¶
addValue¶
addValues¶
-
public void
addValues
(String key, Collection<Object> os)¶ Adds all values in
o
to the collection atkey
.Starts a new collection if the value doesn’t exists or the value isn’t currently a collection.
Parameters: - key – The location of the target collection
- os – The collection of values to add to the target collection
finalise¶
-
public ConfigUpdate
finalise
()¶
setValue¶
-
public void
setValue
(String key, Object o)¶ Sets the value at
key
too
.Uses
ValueOptions.DEFAULT
.Parameters: - key – The location of the target
- o – The new value of the target
setValue¶
-
public void
setValue
(String key, Object o, ValueOptions opts)¶ Sets the value at
key
too
.Parameters: - key – The location of the target
- o – The new value of the target
- opts – The options associated with the new value