From bf01610eb5efe88a85983397c2e2aa23ce6994cd Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 14 Jan 2024 16:06:14 +0900 Subject: [PATCH] =?UTF-8?q?Getter=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lacerta/model/document/DocumentMeta.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/model/src/main/java/one/nem/lacerta/model/document/DocumentMeta.java b/model/src/main/java/one/nem/lacerta/model/document/DocumentMeta.java index 6970b17f..d00850b2 100644 --- a/model/src/main/java/one/nem/lacerta/model/document/DocumentMeta.java +++ b/model/src/main/java/one/nem/lacerta/model/document/DocumentMeta.java @@ -112,6 +112,27 @@ public class DocumentMeta { return tagIds; } + /** + * PublicPathを取得する + */ + public PublicPath getPath() { + return path; + } + + /** + * ドキュメントの作者(String)を取得する + */ + public String getAuthor() { + return author; + } + + /** + * ドキュメントのデフォルトブランチ(String)を取得する + */ + public String getDefaultBranch() { + return defaultBranch; + } + // Setter /**