Package com.vaadin.copilot
Record Class JavaSourcePathDetector.ModuleInfo
java.lang.Object
java.lang.Record
com.vaadin.copilot.JavaSourcePathDetector.ModuleInfo
- Enclosing class:
- JavaSourcePathDetector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassesFolderrecord 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 thejavaSourcePathsrecord component.Returns the value of thejavaTestSourcePathsrecord component.name()Returns the value of thenamerecord component.Returns the value of theresourcePathsrecord component.rootPath()Returns the value of therootPathrecord component.Returns the value of thetestResourcePathsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModuleInfo
public ModuleInfo(String name, Path rootPath, List<Path> javaSourcePaths, List<Path> javaTestSourcePaths, List<Path> resourcePaths, List<Path> testResourcePaths, Path classesFolder) Creates an instance of aModuleInforecord class.- Parameters:
name- the value for thenamerecord componentrootPath- the value for therootPathrecord componentjavaSourcePaths- the value for thejavaSourcePathsrecord componentjavaTestSourcePaths- the value for thejavaTestSourcePathsrecord componentresourcePaths- the value for theresourcePathsrecord componenttestResourcePaths- the value for thetestResourcePathsrecord componentclassesFolder- the value for theclassesFolderrecord component
-
-
Method Details
-
getOrGuessResourceFolder
-
getOrGuessTestFolder
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
rootPath
Returns the value of therootPathrecord component.- Returns:
- the value of the
rootPathrecord component
-
javaSourcePaths
Returns the value of thejavaSourcePathsrecord component.- Returns:
- the value of the
javaSourcePathsrecord component
-
javaTestSourcePaths
Returns the value of thejavaTestSourcePathsrecord component.- Returns:
- the value of the
javaTestSourcePathsrecord component
-
resourcePaths
Returns the value of theresourcePathsrecord component.- Returns:
- the value of the
resourcePathsrecord component
-
testResourcePaths
Returns the value of thetestResourcePathsrecord component.- Returns:
- the value of the
testResourcePathsrecord component
-
classesFolder
Returns the value of theclassesFolderrecord component.- Returns:
- the value of the
classesFolderrecord component
-