Class SuggestChangeResult
java.lang.Object
uno.anahata.ai.nb.model.coding.SuggestChangeResult
- All Implemented Interfaces:
StatefulResource, UserFeedback
Represents the result of a proposeChange operation, indicating whether the user
accepted or cancelled the change, and including the updated file information if accepted.
- Author:
- Anahata
-
Constructor Details
-
SuggestChangeResult
public SuggestChangeResult()
-
-
Method Details
-
getResourceId
Gets the resource ID from the nested FileInfo object. This allows the ContextManager to treat this result as a stateful resource only when a file was actually modified.- Specified by:
getResourceIdin interfaceStatefulResource- Returns:
- The file path if the change was accepted, otherwise null.
-
getLastModified
public long getLastModified()- Specified by:
getLastModifiedin interfaceStatefulResource
-
getSize
public long getSize()- Specified by:
getSizein interfaceStatefulResource
-
getUserFeedback
- Specified by:
getUserFeedbackin interfaceUserFeedback
-
toString
-
