Record Class ProjectionResult
java.lang.Object
java.lang.Record
dev.archunitjava.projection.ProjectionResult
public record ProjectionResult(ProjectionDomain domain, DependencyGraph graph, List<DroppedProjectionEdge> droppedEdges)
extends Record
Projected graph plus complete accounting for omitted raw edges.
-
Constructor Summary
ConstructorsConstructorDescriptionProjectionResult(ProjectionDomain domain, DependencyGraph graph, List<DroppedProjectionEdge> droppedEdges) Creates an instance of aProjectionResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondomain()Returns the value of thedomainrecord component.Returns the value of thedroppedEdgesrecord component.final booleanIndicates whether some other object is "equal to" this one.graph()Returns the value of thegraphrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProjectionResult
public ProjectionResult(ProjectionDomain domain, DependencyGraph graph, List<DroppedProjectionEdge> droppedEdges) Creates an instance of aProjectionResultrecord class.- Parameters:
domain- the value for thedomainrecord componentgraph- the value for thegraphrecord componentdroppedEdges- the value for thedroppedEdgesrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
domain
Returns the value of thedomainrecord component.- Returns:
- the value of the
domainrecord component
-
graph
Returns the value of thegraphrecord component.- Returns:
- the value of the
graphrecord component
-
droppedEdges
Returns the value of thedroppedEdgesrecord component.- Returns:
- the value of the
droppedEdgesrecord component
-