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
@ -545,6 +545,22 @@ public class TagsManager implements Closeable {
|
|||||||
public TagName addTagName(String displayName, String description, TagName.HTML_COLOR color) throws TagNameAlreadyExistsException, TskCoreException {
|
public TagName addTagName(String displayName, String description, TagName.HTML_COLOR color) throws TagNameAlreadyExistsException, TskCoreException {
|
||||||
return addTagName(displayName, description, color, TskData.TagType.SUSPICIOUS);
|
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
|
* Adds a tag name entry to the case database and adds a corresponding tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user