mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Support legacy API
This commit is contained in:
parent
c84579f49f
commit
91fd4caee9
@ -546,6 +546,22 @@ public class TagsManager implements Closeable {
|
||||
return addTagName(displayName, description, color, TskData.TagType.SUSPICIOUS);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param displayName
|
||||
* @param description
|
||||
* @param color
|
||||
* @param knownStatus
|
||||
* @return
|
||||
* @throws org.sleuthkit.autopsy.casemodule.services.TagsManager.TagNameAlreadyExistsException
|
||||
* @throws TskCoreException
|
||||
* @deprecated addTagName(String displayName, String description, TagName.HTML_COLOR color, TskData.TagType tagType) should be used instead
|
||||
*/
|
||||
@Deprecated
|
||||
public TagName addTagName(String displayName, String description, TagName.HTML_COLOR color, TskData.FileKnown knownStatus) throws TagNameAlreadyExistsException, TskCoreException {
|
||||
return addTagName(displayName, description, color, TskData.TagType.convertFileKnownToTagType(knownStatus));
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a tag name entry to the case database and adds a corresponding tag
|
||||
* type to the current user's custom tag types.
|
||||
|
Loading…
x
Reference in New Issue
Block a user