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.exclude()
Returns the value of theexclude
record component.Returns the value of theexcludeByName
record component.final int
hashCode()
Returns a hash code value for this object.include()
Returns the value of theinclude
record component.Returns the value of theincludeByName
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<?>> include, Set<Class<?>> exclude) Creates an instance of aConfiguration
record class.- Parameters:
includeByName
- the value for theincludeByName
record componentexcludeByName
- the value for theexcludeByName
record componentinclude
- the value for theinclude
record componentexclude
- the value for theexclude
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
-
include
Returns the value of theinclude
record component.- Returns:
- the value of the
include
record component
-
exclude
Returns the value of theexclude
record component.- Returns:
- the value of the
exclude
record component
-