Autopsy  4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext Class Reference

Public Member Functions

 CaseContext (Case theCase, ProgressIndicator progressIndicator)
 
boolean cancelRequested ()
 
Case getCase ()
 
ProgressIndicator getProgressIndicator ()
 
void requestCancel ()
 

Private Attributes

volatile boolean cancelRequested
 
final ProgressIndicator progressIndicator
 
final Case theCase
 

Detailed Description

The context for the creation/opening/upgrading of case-level resources by a service.

Definition at line 84 of file AutopsyService.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext.CaseContext ( Case  theCase,
ProgressIndicator  progressIndicator 
)

Constructs the context for the creation/opening/upgrading of case-level resources by a service.

Parameters
theCaseThe case.
progressIndicatorA progress indicator for the opening of the case-level resources

Definition at line 98 of file AutopsyService.java.

References org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext.progressIndicator, and org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext.theCase.

Member Function Documentation

boolean org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext.cancelRequested ( )

Indicates whether or not cancellation of the creation/opening/upgrading of case-level resources by a service has been requested.

Returns
True or false.

Definition at line 139 of file AutopsyService.java.

Case org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext.getCase ( )

Gets the case for the creation/opening/upgrading of case-level resources by a service.

Returns
The case.

Definition at line 110 of file AutopsyService.java.

References org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext.theCase.

Referenced by org.sleuthkit.autopsy.keywordsearch.SolrSearchService.closeCaseResources(), and org.sleuthkit.autopsy.keywordsearch.SolrSearchService.openCaseResources().

ProgressIndicator org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext.getProgressIndicator ( )

Gets the progress indicator for the creation/opening/upgrading of case-level resources by a service.

Returns
The progress indicator.

Definition at line 120 of file AutopsyService.java.

References org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext.progressIndicator.

Referenced by org.sleuthkit.autopsy.casemodule.Case.CancelButtonListener.cancel(), and org.sleuthkit.autopsy.keywordsearch.SolrSearchService.openCaseResources().

void org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext.requestCancel ( )

Requests cancellation of the creation/opening/upgrading of case-level resources by a service. The request is not guaranteed to be honored.

Definition at line 128 of file AutopsyService.java.

Referenced by org.sleuthkit.autopsy.casemodule.Case.CancelButtonListener.cancel().

Member Data Documentation

volatile boolean org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext.cancelRequested
private
final ProgressIndicator org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext.progressIndicator
private
final Case org.sleuthkit.autopsy.appservices.AutopsyService.CaseContext.theCase
private

The documentation for this class was generated from the following file:

Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.