mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
Get jobID from IngestJobContext arg
This commit is contained in:
parent
ad66136011
commit
5b7c84d366
@ -87,7 +87,7 @@ public final class KeywordSearchIngestModule extends IngestModuleAdapter impleme
|
||||
private final KeywordSearchJobSettings settings;
|
||||
private boolean initialized = false;
|
||||
private Tika tikaFormatDetector;
|
||||
private long jobId = 0; ///@todo get from IngestJobContext
|
||||
private long jobId;
|
||||
private long dataSourceId;
|
||||
|
||||
private enum IngestStatus {
|
||||
@ -114,11 +114,10 @@ public final class KeywordSearchIngestModule extends IngestModuleAdapter impleme
|
||||
public void startUp(IngestJobContext context) throws IngestModuleException {
|
||||
logger.log(Level.INFO, "init()");
|
||||
initialized = false;
|
||||
|
||||
|
||||
jobId = context.getJobId();
|
||||
caseHandle = Case.getCurrentCase().getSleuthkitCase();
|
||||
|
||||
tikaFormatDetector = new Tika();
|
||||
|
||||
ingester = Server.getIngester();
|
||||
|
||||
final Server server = KeywordSearch.getServer();
|
||||
|
Loading…
x
Reference in New Issue
Block a user