Supporting legacy APIs

This commit is contained in:
eugene.livis 2024-04-10 15:44:20 -04:00
parent 2c4b795a46
commit c84579f49f

View File

@ -179,6 +179,17 @@ final public class TagNameDefinition implements Comparable<TagNameDefinition> {
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
* for order.