Finding
@JsonInclude(JsonInclude.Include.NON_NULL) @JsonIgnoreProperties(ignoreUnknown = true) public class Finding
io/agentscope/harness/coding/reviewer/Finding.java:29–169Finding,承载智能体的部署、调度与服务化运行。位于 io.agentscope.harness.coding.reviewer 包。核心成员包括 getId、setId、getSeverity、setSeverity、getCategory、setCategory。
A single reviewer finding — mirrors open-swe's Finding model in agent/reviewer_findings.py.
Findings are persisted in SqliteBaseStore namespace ["findings", thread_id]
and batched into a single GitHub PR review by GitHubReviewPublisher.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getId() | 获取标识。 Returns the id. |
public void setId(String id) | 设置标识。 Sets the id. |
public String getSeverity() | 获取严重程度。 Returns the severity. |
public void setSeverity(String severity) | 设置严重程度。 Sets the severity. |
public String getCategory() | 获取类别。 Returns the category. |
public void setCategory(String category) | 设置类别。 Sets the category. |
public String getFile() | 获取文件。 Returns the file. |
public void setFile(String file) | 设置文件。 Sets the file. |
public Integer getStartLine() | 获取 `getStartLine`。 Returns the start line. |
public void setStartLine(Integer startLine) | 设置 `setStartLine`。 Sets the start line. |
public Integer getEndLine() | 获取 `getEndLine`。 Returns the end line. |
public void setEndLine(Integer endLine) | 设置 `setEndLine`。 Sets the end line. |
public String getDescription() | 获取 `getDescription`。 Returns the description. |
public void setDescription(String description) | 设置 `setDescription`。 Sets the description. |
public String getSuggestion() | 获取 `getSuggestion`。 Returns the suggestion. |
public void setSuggestion(String suggestion) | 设置 `setSuggestion`。 Sets the suggestion. |
public String getStatus() | 获取状态。 Returns the status. |
public void setStatus(String status) | 设置状态。 Sets the status. |
public Long getGithubCommentId() | 获取 `getGithubCommentId`。 Returns the github comment id. |
public void setGithubCommentId(Long githubCommentId) | 设置 `setGithubCommentId`。 Sets the github comment id. |
public String getNote() | 获取 `getNote`。 Returns the note. |
public void setNote(String note) | 设置 `setNote`。 Sets the note. |
public String toString() | 返回 `toString` 结果。 Returns the to string. |
方法详情Method Detail
getId
public String getId()
获取标识。
Returns the id.
Stringio/agentscope/harness/coding/reviewer/Finding.java:66–68setId
public void setId(String id)
设置标识。
Sets the id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
id | String | 标识(类型 `String`)。The id. |
io/agentscope/harness/coding/reviewer/Finding.java:70–72getSeverity
public String getSeverity()
获取严重程度。
Returns the severity.
Stringio/agentscope/harness/coding/reviewer/Finding.java:74–76setSeverity
public void setSeverity(String severity)
设置严重程度。
Sets the severity.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
severity | String | 严重程度(类型 `String`)。The severity. |
io/agentscope/harness/coding/reviewer/Finding.java:78–80getCategory
public String getCategory()
获取类别。
Returns the category.
Stringio/agentscope/harness/coding/reviewer/Finding.java:82–84setCategory
public void setCategory(String category)
设置类别。
Sets the category.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
category | String | 类别(类型 `String`)。The category. |
io/agentscope/harness/coding/reviewer/Finding.java:86–88getFile
public String getFile()
获取文件。
Returns the file.
Stringio/agentscope/harness/coding/reviewer/Finding.java:90–92setFile
public void setFile(String file)
设置文件。
Sets the file.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
file | String | 文件(类型 `String`)。The file. |
io/agentscope/harness/coding/reviewer/Finding.java:94–96getStartLine
public Integer getStartLine()
获取 getStartLine。
Returns the start line.
Integerio/agentscope/harness/coding/reviewer/Finding.java:98–100setStartLine
public void setStartLine(Integer startLine)
设置 setStartLine。
Sets the start line.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
startLine | Integer | 启动 Line(类型 `Integer`)。The start line. |
io/agentscope/harness/coding/reviewer/Finding.java:102–104getEndLine
public Integer getEndLine()
获取 getEndLine。
Returns the end line.
Integerio/agentscope/harness/coding/reviewer/Finding.java:106–108setEndLine
public void setEndLine(Integer endLine)
设置 setEndLine。
Sets the end line.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
endLine | Integer | 结束 Line(类型 `Integer`)。The end line. |
io/agentscope/harness/coding/reviewer/Finding.java:110–112getDescription
public String getDescription()
获取 getDescription。
Returns the description.
Stringio/agentscope/harness/coding/reviewer/Finding.java:114–116setDescription
public void setDescription(String description)
设置 setDescription。
Sets the description.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
description | String | 描述(类型 `String`)。The description. |
io/agentscope/harness/coding/reviewer/Finding.java:118–120getSuggestion
public String getSuggestion()
获取 getSuggestion。
Returns the suggestion.
Stringio/agentscope/harness/coding/reviewer/Finding.java:122–124setSuggestion
public void setSuggestion(String suggestion)
设置 setSuggestion。
Sets the suggestion.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
suggestion | String | suggestion(类型 `String`)。The suggestion. |
io/agentscope/harness/coding/reviewer/Finding.java:126–128getStatus
public String getStatus()
获取状态。
Returns the status.
Stringio/agentscope/harness/coding/reviewer/Finding.java:130–132setStatus
public void setStatus(String status)
设置状态。
Sets the status.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
status | String | 状态(类型 `String`)。The status. |
io/agentscope/harness/coding/reviewer/Finding.java:134–136getGithubCommentId
public Long getGithubCommentId()
获取 getGithubCommentId。
Returns the github comment id.
Longio/agentscope/harness/coding/reviewer/Finding.java:138–140setGithubCommentId
public void setGithubCommentId(Long githubCommentId)
设置 setGithubCommentId。
Sets the github comment id.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
githubCommentId | Long | github Comment 标识(类型 `Long`)。The github comment id. |
io/agentscope/harness/coding/reviewer/Finding.java:142–144getNote
public String getNote()
获取 getNote。
Returns the note.
Stringio/agentscope/harness/coding/reviewer/Finding.java:146–148setNote
public void setNote(String note)
设置 setNote。
Sets the note.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
note | String | note(类型 `String`)。The note. |
io/agentscope/harness/coding/reviewer/Finding.java:150–152toString
public String toString()
返回 toString 结果。
Returns the to string.
Stringio/agentscope/harness/coding/reviewer/Finding.java:154–168