Record Class StatefulHandler.StatefulMemberCandidate
java.lang.Object
java.lang.Record
io.fluxzero.sdk.tracking.handling.StatefulHandler.StatefulMemberCandidate
- Enclosing class:
StatefulHandler
protected static record StatefulHandler.StatefulMemberCandidate(StatefulHandler.StatefulMember member, List<Executable> matchingMethods, Map<Object,String> associations, Map<Object,String> repositoryAssociations, boolean alwaysAssociate)
extends Record
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStatefulMemberCandidate(StatefulHandler.StatefulMember member, List<Executable> matchingMethods, Map<Object, String> associations, Map<Object, String> repositoryAssociations, boolean alwaysAssociate) Creates an instance of aStatefulMemberCandidaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thealwaysAssociaterecord component.Returns the value of theassociationsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thematchingMethodsrecord component.member()Returns the value of thememberrecord component.Returns the value of therepositoryAssociationsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StatefulMemberCandidate
protected StatefulMemberCandidate(StatefulHandler.StatefulMember member, List<Executable> matchingMethods, Map<Object, String> associations, Map<Object, String> repositoryAssociations, boolean alwaysAssociate) Creates an instance of aStatefulMemberCandidaterecord class.- Parameters:
member- the value for thememberrecord componentmatchingMethods- the value for thematchingMethodsrecord componentassociations- the value for theassociationsrecord componentrepositoryAssociations- the value for therepositoryAssociationsrecord componentalwaysAssociate- the value for thealwaysAssociaterecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
member
Returns the value of thememberrecord component.- Returns:
- the value of the
memberrecord component
-
matchingMethods
Returns the value of thematchingMethodsrecord component.- Returns:
- the value of the
matchingMethodsrecord component
-
associations
-
repositoryAssociations
-
alwaysAssociate
public boolean alwaysAssociate()Returns the value of thealwaysAssociaterecord component.- Returns:
- the value of the
alwaysAssociaterecord component
-