Record Class SkillEntry
java.lang.Object
java.lang.Record
io.github.duckasteroid.agentdocs.resolve.task.model.SkillEntry
- Record Components:
coordinate- dependency coordinate represented by this entryentrypointPath- extractedSKILL.mdpath for the dependency docs
Resolved dependency documentation entry consumed by skill generation.
-
Constructor Summary
ConstructorsConstructorDescriptionSkillEntry(ModuleCoordinate coordinate, Path entrypointPath) Creates an instance of aSkillEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecoordinaterecord component.Returns the value of theentrypointPathrecord 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
-
SkillEntry
Creates an instance of aSkillEntryrecord class.- Parameters:
coordinate- the value for thecoordinaterecord componententrypointPath- the value for theentrypointPathrecord component
-
-
Method Details
-
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). -
coordinate
Returns the value of thecoordinaterecord component.- Returns:
- the value of the
coordinaterecord component
-
entrypointPath
Returns the value of theentrypointPathrecord component.- Returns:
- the value of the
entrypointPathrecord component
-