Package com.hazelcast.spring
Record Class ExposeHazelcastObjects.Configuration
java.lang.Object
java.lang.Record
com.hazelcast.spring.ExposeHazelcastObjects.Configuration
- Enclosing class:
- ExposeHazelcastObjects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()
final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theexcludeByName
record component.Returns the value of theexcludeByType
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of theincludeByName
record component.Returns the value of theincludeByType
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Configuration
public Configuration(Set<String> includeByName, Set<String> excludeByName, Set<Class<?>> includeByType, Set<Class<?>> excludeByType) Creates an instance of aConfiguration
record class.- Parameters:
includeByName
- the value for theincludeByName
record componentexcludeByName
- the value for theexcludeByName
record componentincludeByType
- the value for theincludeByType
record componentexcludeByType
- the value for theexcludeByType
record component
-
-
Method Details
-
empty
-
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)
. -
includeByName
Returns the value of theincludeByName
record component.- Returns:
- the value of the
includeByName
record component
-
excludeByName
Returns the value of theexcludeByName
record component.- Returns:
- the value of the
excludeByName
record component
-
includeByType
Returns the value of theincludeByType
record component.- Returns:
- the value of the
includeByType
record component
-
excludeByType
Returns the value of theexcludeByType
record component.- Returns:
- the value of the
excludeByType
record component
-