Class Denounce

java.lang.Object
org.apache.wiki.plugin.Denounce
All Implemented Interfaces:
org.apache.wiki.api.plugin.Plugin

public class Denounce extends Object implements org.apache.wiki.api.plugin.Plugin
Denounces a link by removing it from any search engine.
The bots are listed in org/apache/wiki/plugin/denounce.properties.

Parameters :

  • link - The link to be denounced, this parameter is required
  • text - The text to use, defaults to the link
Since:
2.1.40.
  • Field Details

  • Constructor Details

  • Method Details

    • getDisplayName

      public String getDisplayName(Locale locale)
      Specified by:
      getDisplayName in interface org.apache.wiki.api.plugin.Plugin
    • execute

      public String execute(org.apache.wiki.api.core.Context context, Map<String,String> params) throws org.apache.wiki.api.exceptions.PluginException
      Specified by:
      execute in interface org.apache.wiki.api.plugin.Plugin
      Throws:
      org.apache.wiki.api.exceptions.PluginException