Autopsy  4.10.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.casemodule.StartupWindowProvider Class Reference

Inherits org.sleuthkit.autopsy.casemodule.StartupWindowInterface.

Public Member Functions

void close ()
 
void open ()
 

Static Public Member Functions

static StartupWindowProvider getInstance ()
 

Private Member Functions

void init ()
 
boolean isRunningFromCommandLine ()
 

Private Attributes

volatile StartupWindowInterface startupWindowToUse
 

Static Private Attributes

static volatile StartupWindowProvider instance
 
static final Logger logger = Logger.getLogger(StartupWindowProvider.class.getName())
 

Detailed Description

Provides the start up window to rest of the application. It may return the main / default startup window, or a custom one if it has been discovered.

All that is required to create a custom startup window in a module and active it, is to implement StartupWindowInterface and register it with lookup as a ServiceProvider. The custom startup window is automatically chosen over the default one, given it is the only external module custom startup window.

Definition at line 40 of file StartupWindowProvider.java.

Member Function Documentation

void org.sleuthkit.autopsy.casemodule.StartupWindowProvider.close ( )
static StartupWindowProvider org.sleuthkit.autopsy.casemodule.StartupWindowProvider.getInstance ( )
static
void org.sleuthkit.autopsy.casemodule.StartupWindowProvider.init ( )
private
boolean org.sleuthkit.autopsy.casemodule.StartupWindowProvider.isRunningFromCommandLine ( )
private

Checks whether Autopsy is running from command line. There is an OptionProcessor that is responsible for processing command line inputs. If Autopsy is indeed running from command line, then use the command line startup window.

Returns
True if running from command line, false otherwise

Definition at line 119 of file StartupWindowProvider.java.

Referenced by org.sleuthkit.autopsy.casemodule.StartupWindowProvider.init().

void org.sleuthkit.autopsy.casemodule.StartupWindowProvider.open ( )

Member Data Documentation

volatile StartupWindowProvider org.sleuthkit.autopsy.casemodule.StartupWindowProvider.instance
staticprivate
final Logger org.sleuthkit.autopsy.casemodule.StartupWindowProvider.logger = Logger.getLogger(StartupWindowProvider.class.getName())
staticprivate

Definition at line 43 of file StartupWindowProvider.java.

volatile StartupWindowInterface org.sleuthkit.autopsy.casemodule.StartupWindowProvider.startupWindowToUse
private

Definition at line 44 of file StartupWindowProvider.java.


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

Copyright © 2012-2018 Basis Technology. Generated on: Fri Mar 22 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.