Record Class AbstractMethodAnnotationPostProcessor.BeanDefinitionPropertiesMapper
java.lang.Object
java.lang.Record
org.springframework.integration.config.AbstractMethodAnnotationPostProcessor.BeanDefinitionPropertiesMapper
- Enclosing class:
- AbstractMethodAnnotationPostProcessor<T extends Annotation>
protected static record AbstractMethodAnnotationPostProcessor.BeanDefinitionPropertiesMapper(BeanDefinition beanDefinition, List<Annotation> annotations)
extends Record
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBeanDefinitionPropertiesMapper(BeanDefinition beanDefinition, List<Annotation> annotations) Creates an instance of aBeanDefinitionPropertiesMapperrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theannotationsrecord component.Returns the value of thebeanDefinitionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.setPropertyReference(String property) setPropertyReference(String property, String propertyName) setPropertyValue(String property) setPropertyValue(String property, String propertyName) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BeanDefinitionPropertiesMapper
protected BeanDefinitionPropertiesMapper(BeanDefinition beanDefinition, List<Annotation> annotations) Creates an instance of aBeanDefinitionPropertiesMapperrecord class.- Parameters:
beanDefinition- the value for thebeanDefinitionrecord componentannotations- the value for theannotationsrecord component
-
-
Method Details
-
setPropertyValue
public AbstractMethodAnnotationPostProcessor.BeanDefinitionPropertiesMapper setPropertyValue(String property) -
setPropertyValue
public AbstractMethodAnnotationPostProcessor.BeanDefinitionPropertiesMapper setPropertyValue(String property, @Nullable String propertyName) -
setPropertyReference
public AbstractMethodAnnotationPostProcessor.BeanDefinitionPropertiesMapper setPropertyReference(String property) -
setPropertyReference
public AbstractMethodAnnotationPostProcessor.BeanDefinitionPropertiesMapper setPropertyReference(String property, @Nullable String propertyName) -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
beanDefinition
Returns the value of thebeanDefinitionrecord component.- Returns:
- the value of the
beanDefinitionrecord component
-
annotations
Returns the value of theannotationsrecord component.- Returns:
- the value of the
annotationsrecord component
-