Record Class RepositoryReplicationEvidence
java.lang.Object
java.lang.Record
org.j7m.middleware.application.api.replication.RepositoryReplicationEvidence
- Record Components:
eventType- event typeresource- safe resource identifiermetadata- safe metadata
- All Implemented Interfaces:
Serializable
public record RepositoryReplicationEvidence(RepositoryReplicationEventType eventType, String resource, Map<String,String> metadata)
extends Record
implements Serializable
Redacted repository replication evidence entry.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRepositoryReplicationEvidence(RepositoryReplicationEventType eventType, String resource, Map<String, String> metadata) Creates an immutable evidence entry. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theeventTyperecord component.final inthashCode()Returns a hash code value for this object.metadata()Returns the value of themetadatarecord component.resource()Returns the value of theresourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RepositoryReplicationEvidence
public RepositoryReplicationEvidence(RepositoryReplicationEventType eventType, String resource, Map<String, String> metadata) Creates an immutable evidence entry.
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
eventType
-
resource
-
metadata
-