Class PageViewPlugin.PageViewManager

    • Constructor Summary

      Constructors 
      Constructor Description
      PageViewManager()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void actionPerformed​(WikiEvent event)
      Inspect wiki events for shutdown.
      java.lang.String execute​(Context context, java.util.Map<java.lang.String,​java.lang.String> params)
      Count a page hit, present a pages' counter or output a list of page counts.
      void initialize​(Engine engine)
      Initialize the page view manager.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • initialize

        public void initialize​(Engine engine)
        Initialize the page view manager.
        Parameters:
        engine - The wiki engine.
      • execute

        public java.lang.String execute​(Context context,
                                        java.util.Map<java.lang.String,​java.lang.String> params)
                                 throws PluginException
        Count a page hit, present a pages' counter or output a list of page counts.
        Parameters:
        context - the wiki context
        params - the plugin parameters
        Returns:
        String Wiki page snippet
        Throws:
        PluginException - Malformed pattern parameter.