Package org.egothor.methodatlas
Record Class ManualMode.Prepare
java.lang.Object
java.lang.Record
org.egothor.methodatlas.ManualMode.Prepare
- Record Components:
workDir- directory where work files (<fqcn>.txt) will be writtenresponseDir- directory where empty response stubs (<fqcn>.response.txt) will be pre-created; may be the same asworkDir
- All Implemented Interfaces:
ManualMode
- Enclosing interface:
ManualMode
public static record ManualMode.Prepare(Path workDir, Path responseDir)
extends Record
implements ManualMode
Prepare phase: scan source files and write AI prompt work files and empty
response stubs.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.egothor.methodatlas.ManualMode
ManualMode.Consume, ManualMode.Prepare -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theresponseDirrecord component.final StringtoString()Returns a string representation of this record class.workDir()Returns the value of theworkDirrecord component.
-
Constructor Details
-
Prepare
Creates an instance of aPreparerecord class.- Parameters:
workDir- the value for theworkDirrecord componentresponseDir- the value for theresponseDirrecord 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). -
workDir
Returns the value of theworkDirrecord component.- Returns:
- the value of the
workDirrecord component
-
responseDir
Returns the value of theresponseDirrecord component.- Returns:
- the value of the
responseDirrecord component
-