Record Class ChannelInitializer.AutoCreateCandidatesCollector
java.lang.Object
java.lang.Record
org.springframework.integration.config.ChannelInitializer.AutoCreateCandidatesCollector
- Record Components:
channelNames- the auto-create candidate channel bean names.
- Enclosing class:
ChannelInitializer
public static record ChannelInitializer.AutoCreateCandidatesCollector(Collection<String> channelNames)
extends Record
Collects candidate channel names to be auto-created by
ChannelInitializer.- Since:
- 2.1.1
- Author:
- Oleg Zhurakousky, Gary Russell, Artem Bilan
-
Constructor Summary
ConstructorsConstructorDescriptionAutoCreateCandidatesCollector(Collection<String> channelNames) Creates an instance of aAutoCreateCandidatesCollectorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechannelNamesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AutoCreateCandidatesCollector
Creates an instance of aAutoCreateCandidatesCollectorrecord class.- Parameters:
channelNames- the value for thechannelNamesrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
channelNames
Returns the value of thechannelNamesrecord component.- Returns:
- the value of the
channelNamesrecord component
-