mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00

2. added image worker controller API for service to report progress and cancel itself 3. handled case change while ingesting 4. do not try to enqueue work if no images/services selected
38 lines
1.3 KiB
Java
38 lines
1.3 KiB
Java
/*
|
|
* Autopsy Forensic Browser
|
|
*
|
|
* Copyright 2011 Basis Technology Corp.
|
|
* Contact: carrier <at> sleuthkit <dot> org
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
package org.sleuthkit.autopsy.ingest;
|
|
|
|
import org.sleuthkit.datamodel.Image;
|
|
|
|
/**
|
|
* ingest service that acts on entire image (such as Internet history)
|
|
*
|
|
*/
|
|
public interface IngestServiceImage extends IngestServiceAbstract {
|
|
|
|
/**
|
|
* notification from manager to process image
|
|
* The service notifies viewers via IngestManager.postMessage()
|
|
* and may also write results to the black-board as it is processing.
|
|
*
|
|
* @param image image to process
|
|
* @param controller controller to the worker, to update progress (if determinate) and check if cancelled
|
|
*/
|
|
public void process(Image image, IngestImageWorkerController controller);
|
|
} |