From c84579f49f222d418bd2169e1b53b926ba8f1457 Mon Sep 17 00:00:00 2001 From: "eugene.livis" Date: Wed, 10 Apr 2024 15:44:20 -0400 Subject: [PATCH] Supporting legacy APIs --- .../casemodule/services/TagNameDefinition.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Core/src/org/sleuthkit/autopsy/casemodule/services/TagNameDefinition.java b/Core/src/org/sleuthkit/autopsy/casemodule/services/TagNameDefinition.java index c8f04560e9..4dce91c0ba 100755 --- a/Core/src/org/sleuthkit/autopsy/casemodule/services/TagNameDefinition.java +++ b/Core/src/org/sleuthkit/autopsy/casemodule/services/TagNameDefinition.java @@ -178,6 +178,17 @@ final public class TagNameDefinition implements Comparable { public TskData.TagType getTagType() { return tagType; } + + /** + * The status which will be applied to items with this tag. + * + * @return a value of TskData.FileKnown which is associated with this tag + * @deprecated getTagType() should be used instead. + */ + @Deprecated + public TskData.FileKnown getKnownStatus() { + return TskData.TagType.convertTagTypeToFileKnown(tagType); + } /** * Compares this tag name definition with the specified tag name definition