Class AbstractFragmentSetter<T extends AbstractFragmentSetter<T>>
java.lang.Object
io.aiven.kafka.connect.common.config.AbstractFragmentSetter<T>
- Type Parameters:
T- the concrete class.
- Direct Known Subclasses:
CommonConfigFragment.Setter,FileNameFragment.Setter,KafkaFragment.Setter,OutputFormatFragment.Setter,SourceConfigFragment.Setter,TransformerFragment.Setter
An abstract class that is the bases for programmatic configuration easier.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractFragmentSetter(Map<String, String> data) Constructor. -
Method Summary
-
Field Details
-
self
A value to return from the setter methods. Support a fluent setter class.
-
-
Constructor Details
-
AbstractFragmentSetter
Constructor.- Parameters:
data- the map of data items being set.
-
-
Method Details
-
data
Gets the data map.- Returns:
- the data map.
-
setValue
Sets the value.- Parameters:
key- the key to set the value for.value- the value to set.- Returns:
- this.
-
setValue
Sets the value.- Parameters:
key- the key to set the value for.value- the value to set.- Returns:
- this.
-
setValue
Sets the value.- Parameters:
key- the key to set the value for.value- the value to set.- Returns:
- this.
-
setValue
Sets the value.- Parameters:
key- the key to set the value for.value- the value to set.- Returns:
- this.
-
setValue
Sets the value.- Parameters:
key- the key to set the value for.value- the value to set.- Returns:
- this.
-
setValue
Sets the value.- Parameters:
key- the key to set the value for.state- the value to set.- Returns:
- this.
-