net.dpml.transit.model
Class CacheDirectoryChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.dpml.transit.model.CacheDirectoryChangeEvent
All Implemented Interfaces:
Serializable

public class CacheDirectoryChangeEvent
extends EventObject

Event signalling a change to the Tranist cache directory.

Version:
1.0.3
Author:
Digital Product Meta Library
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CacheDirectoryChangeEvent(CacheModel source, String path)
          Creation of a new cache directory change event.
 
Method Summary
 CacheModel getCacheModel()
          Return the source cache model that rased the event.
 String getCachePath()
          Return the new cache path.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheDirectoryChangeEvent

public CacheDirectoryChangeEvent(CacheModel source,
                                 String path)
Creation of a new cache directory change event.

Parameters:
source - the cache model initialing the change
path - the new cache path value
Method Detail

getCacheModel

public CacheModel getCacheModel()
Return the source cache model that rased the event.

Returns:
the source of the event

getCachePath

public String getCachePath()
Return the new cache path.

Returns:
the value assigned as the new cache path