Interface InstanceInputEventGenerator

    • Method Detail

      • setWikiFarmParameters

        void setWikiFarmParameters​(org.xwiki.filter.FilterEventParameters parameters)
                            throws org.xwiki.filter.FilterException
        Set custom parameter related to the farm.
        Parameters:
        parameters - the parameters to set
        Throws:
        org.xwiki.filter.FilterException - when failing to set parameters
        Since:
        6.2M1
      • setWikiParameters

        void setWikiParameters​(String name,
                               org.xwiki.filter.FilterEventParameters parameters)
                        throws org.xwiki.filter.FilterException
        Set custom parameter related to the wiki.
        Parameters:
        name - the name of wiki
        parameters - the parameters to set
        Throws:
        org.xwiki.filter.FilterException - when failing to set parameters
        Since:
        6.2M1
      • setWikiSpaceParameters

        void setWikiSpaceParameters​(String name,
                                    org.xwiki.filter.FilterEventParameters parameters)
                             throws org.xwiki.filter.FilterException
        Set custom parameter related to the space.
        Parameters:
        name - the name of space
        parameters - the parameters to set
        Throws:
        org.xwiki.filter.FilterException - when failing to set parameters
        Since:
        6.2M1
      • setWikiDocumentParameters

        void setWikiDocumentParameters​(String name,
                                       org.xwiki.filter.FilterEventParameters parameters)
                                throws org.xwiki.filter.FilterException
        Set custom parameter related to the document.
        Parameters:
        name - the name of document
        parameters - the parameters to set
        Throws:
        org.xwiki.filter.FilterException - when failing to set parameters
        Since:
        6.2M1
      • setFilter

        void setFilter​(Object filter)
        Parameters:
        filter - the filter to send events to
      • setProperties

        void setProperties​(Map<String,​Object> properties)
        Parameters:
        properties - the event generator properties
      • getDescriptor

        org.xwiki.filter.descriptor.FilterStreamDescriptor getDescriptor()
        Returns:
        The FilterStreamDescriptor describes a FilterStream and has the list of bean class parameters or properties.
      • getFilterInterfaces

        Collection<Class<?>> getFilterInterfaces()
                                          throws org.xwiki.filter.FilterException
        Returns:
        the filters supported by this stream factory
        Throws:
        org.xwiki.filter.FilterException - when failing to get filters interfaces