Class TagAddedObserver

All Implemented Interfaces:
Observer, LogEnabled, Contextualizable, Serviceable

Tag added Observer: - Clear the cache.
  • Constructor Details

  • Method Details

    • supports

      public boolean supports(Event event)
      Description copied from interface: Observer
      Checks if the event is supported. If true, the observe(Event) method will be called.
      Parameters:
      event - the event.
      Returns:
      true for observing this event, false otherwise.
    • observe

      protected void observe(Site site, AmetysObject tag, String tagName, Event rawEvent)
      Description copied from class: AbstractTagObserver
      Typed observe method
      Specified by:
      observe in class AbstractTagObserver
      Parameters:
      site - the site
      tag - the tag or its parent
      tagName - the tag name corresponding the the object tagOrParent when applicable.
      rawEvent - The raw event from which the previous arguments have been extracted.