Record Class SnapshotQueryMetadata
java.lang.Object
java.lang.Record
dev.archunitjava.report.SnapshotQueryMetadata
public record SnapshotQueryMetadata(ReportDomain domain, List<String> includedKinds, List<String> includedNodeIds, List<String> excludedNodeIds, boolean retainSelfEdges, int mappingCount, int sourceNodeCount, int sourceEdgeCount, int mappedSourceNodeCount, int matchedNodeCount, int matchedEdgeCount, int omittedNodeCount, int omittedEdgeCount, int omittedEvidenceCount, GraphSnapshotLimits limits)
extends Record
Complete deterministic query and truncation metadata shared by every renderer.
-
Constructor Summary
ConstructorsConstructorDescriptionSnapshotQueryMetadata(ReportDomain domain, List<String> includedKinds, List<String> includedNodeIds, List<String> excludedNodeIds, boolean retainSelfEdges, int mappingCount, int sourceNodeCount, int sourceEdgeCount, int mappedSourceNodeCount, int matchedNodeCount, int matchedEdgeCount, int omittedNodeCount, int omittedEdgeCount, int omittedEvidenceCount, GraphSnapshotLimits limits) Creates an instance of aSnapshotQueryMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptiondomain()Returns the value of thedomainrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexcludedNodeIdsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theincludedKindsrecord component.Returns the value of theincludedNodeIdsrecord component.limits()Returns the value of thelimitsrecord component.intReturns the value of themappedSourceNodeCountrecord component.intReturns the value of themappingCountrecord component.intReturns the value of thematchedEdgeCountrecord component.intReturns the value of thematchedNodeCountrecord component.intReturns the value of theomittedEdgeCountrecord component.intReturns the value of theomittedEvidenceCountrecord component.intReturns the value of theomittedNodeCountrecord component.booleanReturns the value of theretainSelfEdgesrecord component.intReturns the value of thesourceEdgeCountrecord component.intReturns the value of thesourceNodeCountrecord component.final StringtoString()Returns a string representation of this record class.boolean
-
Constructor Details
-
SnapshotQueryMetadata
public SnapshotQueryMetadata(ReportDomain domain, List<String> includedKinds, List<String> includedNodeIds, List<String> excludedNodeIds, boolean retainSelfEdges, int mappingCount, int sourceNodeCount, int sourceEdgeCount, int mappedSourceNodeCount, int matchedNodeCount, int matchedEdgeCount, int omittedNodeCount, int omittedEdgeCount, int omittedEvidenceCount, GraphSnapshotLimits limits) Creates an instance of aSnapshotQueryMetadatarecord class.- Parameters:
domain- the value for thedomainrecord componentincludedKinds- the value for theincludedKindsrecord componentincludedNodeIds- the value for theincludedNodeIdsrecord componentexcludedNodeIds- the value for theexcludedNodeIdsrecord componentretainSelfEdges- the value for theretainSelfEdgesrecord componentmappingCount- the value for themappingCountrecord componentsourceNodeCount- the value for thesourceNodeCountrecord componentsourceEdgeCount- the value for thesourceEdgeCountrecord componentmappedSourceNodeCount- the value for themappedSourceNodeCountrecord componentmatchedNodeCount- the value for thematchedNodeCountrecord componentmatchedEdgeCount- the value for thematchedEdgeCountrecord componentomittedNodeCount- the value for theomittedNodeCountrecord componentomittedEdgeCount- the value for theomittedEdgeCountrecord componentomittedEvidenceCount- the value for theomittedEvidenceCountrecord componentlimits- the value for thelimitsrecord component
-
-
Method Details
-
truncated
public boolean truncated() -
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. -
domain
Returns the value of thedomainrecord component.- Returns:
- the value of the
domainrecord component
-
includedKinds
-
includedNodeIds
-
excludedNodeIds
-
retainSelfEdges
public boolean retainSelfEdges()Returns the value of theretainSelfEdgesrecord component.- Returns:
- the value of the
retainSelfEdgesrecord component
-
mappingCount
public int mappingCount()Returns the value of themappingCountrecord component.- Returns:
- the value of the
mappingCountrecord component
-
sourceNodeCount
public int sourceNodeCount()Returns the value of thesourceNodeCountrecord component.- Returns:
- the value of the
sourceNodeCountrecord component
-
sourceEdgeCount
public int sourceEdgeCount()Returns the value of thesourceEdgeCountrecord component.- Returns:
- the value of the
sourceEdgeCountrecord component
-
mappedSourceNodeCount
public int mappedSourceNodeCount()Returns the value of themappedSourceNodeCountrecord component.- Returns:
- the value of the
mappedSourceNodeCountrecord component
-
matchedNodeCount
public int matchedNodeCount()Returns the value of thematchedNodeCountrecord component.- Returns:
- the value of the
matchedNodeCountrecord component
-
matchedEdgeCount
public int matchedEdgeCount()Returns the value of thematchedEdgeCountrecord component.- Returns:
- the value of the
matchedEdgeCountrecord component
-
omittedNodeCount
public int omittedNodeCount()Returns the value of theomittedNodeCountrecord component.- Returns:
- the value of the
omittedNodeCountrecord component
-
omittedEdgeCount
public int omittedEdgeCount()Returns the value of theomittedEdgeCountrecord component.- Returns:
- the value of the
omittedEdgeCountrecord component
-
omittedEvidenceCount
public int omittedEvidenceCount()Returns the value of theomittedEvidenceCountrecord component.- Returns:
- the value of the
omittedEvidenceCountrecord component
-
limits
Returns the value of thelimitsrecord component.- Returns:
- the value of the
limitsrecord component
-