Autopsy  4.19.3
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 ()
 
StartupWindowInterface getStartupWindow ()
 
void open ()
 

Static Public Member Functions

static StartupWindowProvider getInstance ()
 

Private Member Functions

void checkSolr ()
 
String getDefaultArgument ()
 
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 53 of file StartupWindowProvider.java.

Member Function Documentation

void org.sleuthkit.autopsy.casemodule.StartupWindowProvider.checkSolr ( )
private
void org.sleuthkit.autopsy.casemodule.StartupWindowProvider.close ( )
String org.sleuthkit.autopsy.casemodule.StartupWindowProvider.getDefaultArgument ( )
private

Get the default argument from the CommandLineOptionProcessor.

Returns
If set, the default argument otherwise null.

Definition at line 227 of file StartupWindowProvider.java.

References org.sleuthkit.autopsy.commandlineingest.CommandLineOptionProcessor.getDefaultArgument().

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

static StartupWindowProvider org.sleuthkit.autopsy.casemodule.StartupWindowProvider.getInstance ( )
static
StartupWindowInterface org.sleuthkit.autopsy.casemodule.StartupWindowProvider.getStartupWindow ( )

Get the chosen startup window.

Returns
The startup window.

Definition at line 254 of file StartupWindowProvider.java.

References org.sleuthkit.autopsy.casemodule.StartupWindowProvider.startupWindowToUse.

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 213 of file StartupWindowProvider.java.

References org.sleuthkit.autopsy.commandlineingest.CommandLineOptionProcessor.isRunFromCommandLine().

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 56 of file StartupWindowProvider.java.

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

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

Copyright © 2012-2022 Basis Technology. Generated on: Wed Oct 5 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.