net.dpml.transit.model
Class CacheDirectoryChangeEvent
java.lang.Object
java.util.EventObject
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.0
- Author:
- The Digital Product Meta Library
- See Also:
- Serialized Form
CacheDirectoryChangeEvent
public CacheDirectoryChangeEvent(CacheModel source,
String path)
- Creation of a new cache directory change event.
- Parameters:
source
- the cache model initialing the changepath
- the new cache path value
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