com.teamdev.filewatch
Class WatcherEvent.Stopped

java.lang.Object
  extended by java.util.EventObject
      extended by com.teamdev.filewatch.WatcherEvent
          extended by com.teamdev.filewatch.WatcherEvent.Stopped
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
WatcherEvent

public static class WatcherEvent.Stopped
extends WatcherEvent

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.teamdev.filewatch.WatcherEvent
WatcherEvent.Started, WatcherEvent.Stopped, WatcherEvent.StopReason
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WatcherEvent.Stopped(FileWatcher source)
          Constructs a prototypical Event.
WatcherEvent.Stopped(FileWatcher source, WatcherEvent.StopReason reason)
           
 
Method Summary
protected  void dispatch(WatcherEventListener listener)
           
 WatcherEvent.StopReason getStopReason()
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WatcherEvent.Stopped

public WatcherEvent.Stopped(FileWatcher source)
Constructs a prototypical Event.

Parameters:
source - The object on which the Event initially occurred.
Throws:
java.lang.IllegalArgumentException - if source is null.

WatcherEvent.Stopped

public WatcherEvent.Stopped(FileWatcher source,
                            WatcherEvent.StopReason reason)
Method Detail

dispatch

protected void dispatch(WatcherEventListener listener)
Specified by:
dispatch in class WatcherEvent

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject

getStopReason

public WatcherEvent.StopReason getStopReason()