java.lang.Object
java.lang.Record
org.aya.cli.library.json.LibraryDependency.DepFile
- All Implemented Interfaces:
LibraryDependency
- Enclosing interface:
LibraryDependency
public static record LibraryDependency.DepFile(@NotNull String depName, @NotNull Path depRoot)
extends Record
implements LibraryDependency
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aya.cli.library.json.LibraryDependency
LibraryDependency.DepFile, LibraryDependency.DepGithub, LibraryDependency.DepVersion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull StringdepName()Returns the value of thedepNamerecord component.@NotNull PathdepRoot()Returns the value of thedepRootrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DepFile
-
-
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). -
depName
Returns the value of thedepNamerecord component.- Specified by:
depNamein interfaceLibraryDependency- Returns:
- the value of the
depNamerecord component
-
depRoot
Returns the value of thedepRootrecord component.- Returns:
- the value of the
depRootrecord component
-