Package org.hibernate.search.processor
Record Class HibernateSearchProcessorSettings.Configuration
java.lang.Object
java.lang.Record
org.hibernate.search.processor.HibernateSearchProcessorSettings.Configuration
- All Implemented Interfaces:
Serializable
- Enclosing class:
HibernateSearchProcessorSettings
public static record HibernateSearchProcessorSettings.Configuration(boolean generatedAnnotationAdd, boolean generatedAnnotationTimestamp, String version)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConfiguration
(boolean generatedAnnotationAdd, boolean generatedAnnotationTimestamp, String version) Creates an instance of aConfiguration
record class.Configuration
(Map<String, String> options) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.boolean
Returns the value of thegeneratedAnnotationAdd
record component.boolean
Returns the value of thegeneratedAnnotationTimestamp
record component.final int
hashCode()
Returns a hash code value for this object.boolean
isOrmMapperPresent
(Elements elementUtils) final String
toString()
Returns a string representation of this record class.version()
Returns the value of theversion
record component.
-
Constructor Details
-
Configuration
-
Configuration
public Configuration(boolean generatedAnnotationAdd, boolean generatedAnnotationTimestamp, String version) Creates an instance of aConfiguration
record class.- Parameters:
generatedAnnotationAdd
- the value for thegeneratedAnnotationAdd
record componentgeneratedAnnotationTimestamp
- the value for thegeneratedAnnotationTimestamp
record componentversion
- the value for theversion
record component
-
-
Method Details
-
formattedGeneratedAnnotation
-
elasticsearchVersion
-
luceneVersion
-
backendVersion
-
isOrmMapperPresent
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
generatedAnnotationAdd
public boolean generatedAnnotationAdd()Returns the value of thegeneratedAnnotationAdd
record component.- Returns:
- the value of the
generatedAnnotationAdd
record component
-
generatedAnnotationTimestamp
public boolean generatedAnnotationTimestamp()Returns the value of thegeneratedAnnotationTimestamp
record component.- Returns:
- the value of the
generatedAnnotationTimestamp
record component
-
version
Returns the value of theversion
record component.- Returns:
- the value of the
version
record component
-