Record Class ClassPathAssemblyResult
java.lang.Object
java.lang.Record
dev.archunitjava.importer.ClassPathAssemblyResult
public record ClassPathAssemblyResult(List<SelectedClassResource> selections, List<InputDiagnostic> diagnostics)
extends Record
Immutable deterministic output of Java resource lookup assembly.
-
Constructor Summary
ConstructorsConstructorDescriptionClassPathAssemblyResult(List<SelectedClassResource> selections, List<InputDiagnostic> diagnostics) Creates an instance of aClassPathAssemblyResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thediagnosticsrecord 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 theselectionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ClassPathAssemblyResult
public ClassPathAssemblyResult(List<SelectedClassResource> selections, List<InputDiagnostic> diagnostics) Creates an instance of aClassPathAssemblyResultrecord class.- Parameters:
selections- the value for theselectionsrecord componentdiagnostics- the value for thediagnosticsrecord component
-
-
Method Details
-
selectedResources
-
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). -
selections
Returns the value of theselectionsrecord component.- Returns:
- the value of the
selectionsrecord component
-
diagnostics
Returns the value of thediagnosticsrecord component.- Returns:
- the value of the
diagnosticsrecord component
-