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
ModifierConstructorDescriptionprotected
BeanDefinitionPropertiesMapper
(BeanDefinition beanDefinition, List<Annotation> annotations) Creates an instance of aBeanDefinitionPropertiesMapper
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theannotations
record component.Returns the value of thebeanDefinition
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.setPropertyReference
(String property) setPropertyReference
(String property, String propertyName) setPropertyValue
(String property) setPropertyValue
(String property, String propertyName) final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
BeanDefinitionPropertiesMapper
protected BeanDefinitionPropertiesMapper(BeanDefinition beanDefinition, List<Annotation> annotations) Creates an instance of aBeanDefinitionPropertiesMapper
record class.- Parameters:
beanDefinition
- the value for thebeanDefinition
record componentannotations
- the value for theannotations
record 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 thebeanDefinition
record component.- Returns:
- the value of the
beanDefinition
record component
-
annotations
Returns the value of theannotations
record component.- Returns:
- the value of the
annotations
record component
-