Record Class InputEnumerationResult
java.lang.Object
java.lang.Record
dev.archunitjava.importer.InputEnumerationResult
public record InputEnumerationResult(List<ClassFileResource> resources, List<InputDiagnostic> diagnostics)
extends Record
Immutable deterministic output of class-file input enumeration.
-
Constructor Summary
ConstructorsConstructorDescriptionInputEnumerationResult(List<ClassFileResource> resources, List<InputDiagnostic> diagnostics) Creates an instance of aInputEnumerationResultrecord 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 theresourcesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InputEnumerationResult
Creates an instance of aInputEnumerationResultrecord class.- Parameters:
resources- the value for theresourcesrecord componentdiagnostics- the value for thediagnosticsrecord 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). -
resources
Returns the value of theresourcesrecord component.- Returns:
- the value of the
resourcesrecord component
-
diagnostics
Returns the value of thediagnosticsrecord component.- Returns:
- the value of the
diagnosticsrecord component
-