freemarker.template
Class CacheEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--freemarker.template.CacheEvent

public class CacheEvent
extends java.util.EventObject

An event fired by self-updating caches.

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CacheEvent(java.lang.Object source)
           
 
Method Summary
 java.lang.String getElementName()
           
 java.lang.Exception getException()
           
 void setElementName(java.lang.String elementName)
           
 void setException(java.lang.Exception exception)
           
 
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

CacheEvent

public CacheEvent(java.lang.Object source)
Method Detail

setException

public void setException(java.lang.Exception exception)
Parameters:
exception - an Exception associated with this event.

getException

public java.lang.Exception getException()
Returns:
the Exception, if any, associated with this event.

setElementName

public void setElementName(java.lang.String elementName)
Parameters:
elementName - the name of the cache element associated with this event.

getElementName

public java.lang.String getElementName()
Returns:
the name of the cache element, if any, associated with this event.