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

Static Public Member Functions

static void clear ()
 
static void error (String title, String message)
 
static void info (String title, String message)
 
static void show (String title, String message, MessageType type, ActionListener actionListener)
 
static void show (String title, final String message, final MessageType type)
 
static void warn (String title, String message)
 

Private Member Functions

 Notify ()
 

Static Private Member Functions

static String addTimeStampToTitle (String title)
 

Static Private Attributes

static final List< Notification > notifications = Collections.synchronizedList(new ArrayList<Notification>())
 
static final SimpleDateFormat TIME_STAMP_FORMAT = new SimpleDateFormat("MM/dd/yy HH:mm:ss z")
 

Detailed Description

Utility to display notifications with balloons

Definition at line 160 of file MessageNotifyUtil.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.Notify ( )
private

Definition at line 167 of file MessageNotifyUtil.java.

Member Function Documentation

static String org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.addTimeStampToTitle ( String  title)
staticprivate

Adds a time stamp prefix to the title of notifications so that they will be in order (they are sorted alphabetically) in the notifications area.

Parameters
titleA notification title without a time stamp prefix.
Returns
The notification title with a time stamp prefix.

Definition at line 250 of file MessageNotifyUtil.java.

Referenced by org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.show().

static void org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.clear ( )
static

Clear pending notifications Should really only be used by Case

Definition at line 173 of file MessageNotifyUtil.java.

Referenced by org.sleuthkit.autopsy.casemodule.Case.updateGUIForCaseClosed().

static void org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.error ( String  title,
String  message 
)
static

Show an error notification

Parameters
titlemessage title
messagemessage text

Definition at line 227 of file MessageNotifyUtil.java.

References org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.MessageType.ERROR, and org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.show().

Referenced by org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.addArtifact(), org.sleuthkit.autopsy.casemodule.Case.closeAppServiceCaseResources(), org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.Searcher.doInBackground(), org.sleuthkit.autopsy.directorytree.ExtractUnallocAction.ExtractUnallocWorker.done(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactTagNode.getActions(), org.sleuthkit.autopsy.timeline.explorernodes.EventNode.getActions(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getActions(), org.sleuthkit.autopsy.timeline.TimeLineController.getRebuildReasons(), org.sleuthkit.autopsy.contentviewers.GstVideoPanel.initGst(), org.sleuthkit.autopsy.core.Installer.initJavaFx(), org.sleuthkit.autopsy.casemodule.Case.openAppServiceCaseResources(), org.sleuthkit.autopsy.casemodule.Case.openServices(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.postHashSetHitToBlackboard(), org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.postIndexSummary(), org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule.process(), org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule.processPst(), org.sleuthkit.autopsy.coreutils.AutopsyExceptionHandler.publish(), org.sleuthkit.autopsy.timeline.TimeLineController.rebuildRepoHelper(), org.sleuthkit.autopsy.timeline.TimeLineController.setEventsDBStale(), org.sleuthkit.autopsy.core.ServicesMonitor.setServiceStatus(), and org.sleuthkit.autopsy.casemodule.ImageFilePanel.updateHelper().

static void org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.info ( String  title,
String  message 
)
static
static void org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.show ( String  title,
String  message,
MessageType  type,
ActionListener  actionListener 
)
static
static void org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.show ( String  title,
final String  message,
final MessageType  type 
)
static

Show message with the specified type and a default action which displays the message using MessageNotifyUtil.Message with the same message type

Parameters
titlemessage title
messagemessage text
typetype of the message

Definition at line 203 of file MessageNotifyUtil.java.

References org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Message.show(), and org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.show().

static void org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.warn ( String  title,
String  message 
)
static

Member Data Documentation

final List<Notification> org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.notifications = Collections.synchronizedList(new ArrayList<Notification>())
staticprivate

Definition at line 165 of file MessageNotifyUtil.java.

final SimpleDateFormat org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.TIME_STAMP_FORMAT = new SimpleDateFormat("MM/dd/yy HH:mm:ss z")
staticprivate

Definition at line 162 of file MessageNotifyUtil.java.


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.