code: public Collection<Plugin> list(String name, boolean detailed)
      {
          List<Plugin> ret = new ArrayList<Plugin>();
          Collection<Plugin> plugins = list(detailed);
          for(Plugin plugin : plugins)
          {
              if(name == null || plugin.getName().equals(name))
                  ret.add(plugin);
          }
          return ret;
      }
docs: Returns the set of plugins for the given name.
  @param name The name of the plugins
  @param detailed <CODE>true</CODE> if the details of the plugin should be included
  @return The set of plugins