Autopsy  4.19.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 ()
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 51 of file

Member Function Documentation

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

Get the default argument from the CommandLineOptionProcessor.

If set, the default argument otherwise null.

Definition at line 220 of file

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

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

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

Get the chosen startup window.

The startup window.

Definition at line 247 of file

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

void org.sleuthkit.autopsy.casemodule.StartupWindowProvider.init ( )
boolean org.sleuthkit.autopsy.casemodule.StartupWindowProvider.isRunningFromCommandLine ( )

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.

True if running from command line, false otherwise

Definition at line 206 of file

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

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

void ( )

Member Data Documentation

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

Definition at line 54 of file

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

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

Copyright © 2012-2021 Basis Technology. Generated on: Fri Aug 6 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.