Class WikiCreateFailedEvent

  • All Implemented Interfaces:
    Serializable, WikiEvent, org.xwiki.observation.event.EndEvent, org.xwiki.observation.event.Event, org.xwiki.observation.event.FilterableEvent

    public class WikiCreateFailedEvent
    extends AbstractWikiEvent
    implements org.xwiki.observation.event.EndEvent
    An event triggered after trying to create a wiki if the creation failed.

    The event also send the following parameters:

    • source: the wiki identifier as String
    • data: the current {com.xpn.xwiki.XWikiContext} instance
    Since:
    3.2M1
    Version:
    $Id: b6b8c2cec42415a6783efb9b9e925869fcd5cb40 $
    See Also:
    Serialized Form
    • Constructor Detail

      • WikiCreateFailedEvent

        public WikiCreateFailedEvent​(String wikiId)
        Constructor initializing the event filter with a FixedNameEventFilter, meaning that this event will match only events affecting the same wiki.
        Parameters:
        wikiId - the wiki identifier
      • WikiCreateFailedEvent

        public WikiCreateFailedEvent​(org.xwiki.observation.event.filter.EventFilter eventFilter)
        Constructor using a custom EventFilter.
        Parameters:
        eventFilter - the filter to use for matching events