Record Class DiscoveredProject
java.lang.Object
java.lang.Record
dev.archunitjava.importer.DiscoveredProject
-
Constructor Summary
ConstructorsConstructorDescriptionDiscoveredProject(Path root, BuildSystem buildSystem, List<Path> mainClassDirectories, List<Path> testClassDirectories, List<Path> metadataFiles) Creates an instance of aDiscoveredProjectrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebuildSystemrecord 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 themainClassDirectoriesrecord component.Returns the value of themetadataFilesrecord component.root()Returns the value of therootrecord component.Returns the value of thetestClassDirectoriesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DiscoveredProject
public DiscoveredProject(Path root, BuildSystem buildSystem, List<Path> mainClassDirectories, List<Path> testClassDirectories, List<Path> metadataFiles) Creates an instance of aDiscoveredProjectrecord class.- Parameters:
root- the value for therootrecord componentbuildSystem- the value for thebuildSystemrecord componentmainClassDirectories- the value for themainClassDirectoriesrecord componenttestClassDirectories- the value for thetestClassDirectoriesrecord componentmetadataFiles- the value for themetadataFilesrecord 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). -
root
Returns the value of therootrecord component.- Returns:
- the value of the
rootrecord component
-
buildSystem
Returns the value of thebuildSystemrecord component.- Returns:
- the value of the
buildSystemrecord component
-
mainClassDirectories
-
testClassDirectories
-
metadataFiles
-