com.mindtree.techworks.insight.eventsearch
Class EventSearchProvider

java.lang.Object
  extended by java.lang.Thread
      extended by com.mindtree.techworks.insight.eventsearch.EventSearchProvider
All Implemented Interfaces:
ILogEventModelMutator, java.lang.Runnable

public class EventSearchProvider
extends java.lang.Thread
implements ILogEventModelMutator

Provides the Event Search functionality to Insight, based on the search criteria selected by the user.

Version:
$Revision: 27 $ $Date: 2007-12-16 04:58:03 -0700 (Sun, 16 Dec 2007) $
Author:
Bindul Bhowmik
See Also:
SearchAction, SearchEventsFrame

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Fields inherited from interface com.mindtree.techworks.insight.model.ILogEventModelMutator
FAILURE, NON_TAILING_MUTATOR, SUCCESS, TAILING_MUTATOR
 
Constructor Summary
EventSearchProvider(Insight insightInstance, boolean indicateProgress, EventDetailsPresentation eventDetailsPresentation)
          Constructor for the class.
 
Method Summary
 void addMutatorListener(IMutatorListener mutatorListener)
          Adds the specified MutatorListener
 void removeMutatorListener(IMutatorListener mutatorListener)
          Removes the specified MutatorListener
 void run()
           
 void searchLogEvents(SearchCriteria currentSearchCriteria)
          Searches the passed pageSet for the search criteria
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventSearchProvider

public EventSearchProvider(Insight insightInstance,
                           boolean indicateProgress,
                           EventDetailsPresentation eventDetailsPresentation)
Constructor for the class.

Parameters:
insightInstance - The current instance of Insight.
indicateProgress - Whether to indicate the progress of the search in the status bar.
eventDetailsPresentation - The event details presentation used for highlighting
Method Detail

searchLogEvents

public void searchLogEvents(SearchCriteria currentSearchCriteria)
Searches the passed pageSet for the search criteria

Parameters:
currentSearchCriteria - The SearchCriteria object containing the data to search.

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread
See Also:
Runnable.run()

addMutatorListener

public void addMutatorListener(IMutatorListener mutatorListener)
Description copied from interface: ILogEventModelMutator
Adds the specified MutatorListener

Specified by:
addMutatorListener in interface ILogEventModelMutator
Parameters:
mutatorListener - the IMutatorListener to add
See Also:
ILogEventModelMutator.addMutatorListener(com.mindtree.techworks.insight.model.IMutatorListener)

removeMutatorListener

public void removeMutatorListener(IMutatorListener mutatorListener)
Description copied from interface: ILogEventModelMutator
Removes the specified MutatorListener

Specified by:
removeMutatorListener in interface ILogEventModelMutator
Parameters:
mutatorListener - the MutatorListener to remove
See Also:
ILogEventModelMutator.removeMutatorListener(com.mindtree.techworks.insight.model.IMutatorListener)


Copyright © 2003-2008 MindTree Consulting Ltd.. All Rights Reserved.