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 aAutoCreateCandidatesCollector
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechannelNames
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
AutoCreateCandidatesCollector
Creates an instance of aAutoCreateCandidatesCollector
record class.- Parameters:
channelNames
- the value for thechannelNames
record 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 thechannelNames
record component.- Returns:
- the value of the
channelNames
record component
-