MCPcopy Create free account
hub / github.com/DerekYRC/mini-claude-code / Memory

Class Memory

src/main/java/org/miniclaudecode/memory/Memory.java:8–70  ·  view source on GitHub ↗

一条文件系统记忆。 s09 使用普通 Java 类表达纯数据,便于直接对应 .memory/ .md 的 frontmatter。

Source from the content-addressed store, hash-verified

6 * s09 使用普通 Java 类表达纯数据,便于直接对应 .memory/*.md 的 frontmatter。
7 */
8public class Memory {
9
10 private String filename;
11
12 private String name;
13
14 private String description;
15
16 private String type;
17
18 private String body;
19
20 public Memory() {
21 }
22
23 public Memory(String filename, String name, String description, String type, String body) {
24 this.filename = filename;
25 this.name = name;
26 this.description = description;
27 this.type = type;
28 this.body = body;
29 }
30
31 public String getFilename() {
32 return filename;
33 }
34
35 public void setFilename(String filename) {
36 this.filename = filename;
37 }
38
39 public String getName() {
40 return name;
41 }
42
43 public void setName(String name) {
44 this.name = name;
45 }
46
47 public String getDescription() {
48 return description;
49 }
50
51 public void setDescription(String description) {
52 this.description = description;
53 }
54
55 public String getType() {
56 return type;
57 }
58
59 public void setType(String type) {
60 this.type = type;
61 }
62
63 public String getBody() {
64 return body;
65 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected