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

Inherits OptionProcessor.

Public Member Functions

boolean isRunFromCommandLine ()
 

Protected Member Functions

Set< Option > getOptions ()
 
void process (Env env, Map< Option, String[]> values) throws CommandException
 

Private Attributes

String baseCaseName
 
final Option caseNameOption = Option.optionalArgument('2', "caseName")
 
String pathToDataSource
 
final Option pathToDataSourceOption = Option.optionalArgument('l', "inputPath")
 
boolean runFromCommandLine = false
 
final Option runFromCommandLineOption = Option.optionalArgument('3', "runFromCommandLine")
 

Static Private Attributes

static final Logger logger = Logger.getLogger(CommandLineOptionProcessor.class.getName())
 

Detailed Description

This class can be used to add command line options to Autopsy

Definition at line 37 of file CommandLineOptionProcessor.java.

Member Function Documentation

Set<Option> org.sleuthkit.autopsy.commandlineingest.CommandLineOptionProcessor.getOptions ( )
protected

Definition at line 48 of file CommandLineOptionProcessor.java.

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

Returns whether Autopsy should be running in command line mode or not.

Returns
true if running in command line mode, false otherwise.

Definition at line 165 of file CommandLineOptionProcessor.java.

void org.sleuthkit.autopsy.commandlineingest.CommandLineOptionProcessor.process ( Env  env,
Map< Option, String[]>  values 
) throws CommandException
protected

Definition at line 57 of file CommandLineOptionProcessor.java.

Member Data Documentation

String org.sleuthkit.autopsy.commandlineingest.CommandLineOptionProcessor.baseCaseName
private

Definition at line 44 of file CommandLineOptionProcessor.java.

final Option org.sleuthkit.autopsy.commandlineingest.CommandLineOptionProcessor.caseNameOption = Option.optionalArgument('2', "caseName")
private

Definition at line 41 of file CommandLineOptionProcessor.java.

final Logger org.sleuthkit.autopsy.commandlineingest.CommandLineOptionProcessor.logger = Logger.getLogger(CommandLineOptionProcessor.class.getName())
staticprivate

Definition at line 39 of file CommandLineOptionProcessor.java.

String org.sleuthkit.autopsy.commandlineingest.CommandLineOptionProcessor.pathToDataSource
private

Definition at line 43 of file CommandLineOptionProcessor.java.

final Option org.sleuthkit.autopsy.commandlineingest.CommandLineOptionProcessor.pathToDataSourceOption = Option.optionalArgument('l', "inputPath")
private

Definition at line 40 of file CommandLineOptionProcessor.java.

boolean org.sleuthkit.autopsy.commandlineingest.CommandLineOptionProcessor.runFromCommandLine = false
private

Definition at line 45 of file CommandLineOptionProcessor.java.

final Option org.sleuthkit.autopsy.commandlineingest.CommandLineOptionProcessor.runFromCommandLineOption = Option.optionalArgument('3', "runFromCommandLine")
private

Definition at line 42 of file CommandLineOptionProcessor.java.


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

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