Record Class SkillEntry
java.lang.Object
java.lang.Record
io.github.duckasteroid.agentdocs.resolve.task.model.SkillEntry
- Record Components:
source- the dependency (ModuleCoordinate) or Gradle plugin (GradlePluginCoordinate) this entry documentsentrypointPath- extractedSKILL.mdpath for the docsskillName- assigned skill-folder name for this entry (seeSkillNameAssigner); not necessarilysource.skillName()- may be a shorter, collision-free tier
Resolved documentation entry consumed by skill generation.
-
Constructor Summary
ConstructorsConstructorDescriptionSkillEntry(SkillSource source, Path entrypointPath, String skillName) Creates an instance of aSkillEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns 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.Returns the value of theskillNamerecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SkillEntry
Creates an instance of aSkillEntryrecord class.- Parameters:
source- the value for thesourcerecord componententrypointPath- the value for theentrypointPathrecord componentskillName- the value for theskillNamerecord 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). -
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
entrypointPath
Returns the value of theentrypointPathrecord component.- Returns:
- the value of the
entrypointPathrecord component
-
skillName
Returns the value of theskillNamerecord component.- Returns:
- the value of the
skillNamerecord component
-