Record Class CliAnalysisResult
java.lang.Object
java.lang.Record
dev.archunitjava.cli.CliAnalysisResult
public record CliAnalysisResult(ImportResolutionResult imports, DependencyGraph graph, ResultReport results)
extends Record
Shared immutable output used identically by CLI and direct Java callers.
-
Constructor Summary
ConstructorsConstructorDescriptionCliAnalysisResult(ImportResolutionResult imports, DependencyGraph graph, ResultReport results) Creates an instance of aCliAnalysisResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.imports()Returns the value of theimportsrecord component.results()Returns the value of theresultsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CliAnalysisResult
public CliAnalysisResult(ImportResolutionResult imports, DependencyGraph graph, ResultReport results) Creates an instance of aCliAnalysisResultrecord class.- Parameters:
imports- the value for theimportsrecord componentgraph- the value for thegraphrecord componentresults- the value for theresultsrecord 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). -
imports
Returns the value of theimportsrecord component.- Returns:
- the value of the
importsrecord component
-
graph
Returns the value of thegraphrecord component.- Returns:
- the value of the
graphrecord component
-
results
Returns the value of theresultsrecord component.- Returns:
- the value of the
resultsrecord component
-