public interface WithPropertiesBuilder<T extends WithPropertiesBuilder<T>>
| Modifier and Type | Method and Description |
|---|---|
WithProperties |
build() |
T |
configuredProperties(Map<String,? extends String> properties) |
default T |
putOrRemoveConfiguredPropertyTaggedWith(WithPropertiesBuilder<T> builder,
String tag,
String value)
Sets property tagged with the given tag to the supplied value
|
default String |
putOrRemoveProperty(Map<String,String> properties,
String key,
String value)
Either sets or removes the property depending on if the given value is
null. |
WithProperties build()
default String putOrRemoveProperty(Map<String,String> properties, String key, String value)
null.properties - The propertieskey - Property keyvalue - The value to set the property to, if null property will be
removeddefault T putOrRemoveConfiguredPropertyTaggedWith(WithPropertiesBuilder<T> builder, String tag, String value)
properties - The propertiestag - The looked after tagvalue - The value to set the property toCopyright © 2016–2019 Red Hat. All rights reserved.