Groovy Documentation

org.codehaus.groovy.grails.plugins
[Java] Class ExcludingPluginFilter

java.lang.Object
  org.codehaus.groovy.grails.plugins.BasePluginFilter
      org.codehaus.groovy.grails.plugins.ExcludingPluginFilter

@java.lang.SuppressWarnings({ "unchecked", "rawtypes" })
public class ExcludingPluginFilter
extends BasePluginFilter

Implementation of PluginFilter which removes that all of the supplied plugins (identified by name) as well as their dependencies are omitted from the filtered plugin list.

Authors:
Phil Zoio


Field Summary
 
Fields inherited from class BasePluginFilter
nameMap
 
Constructor Summary
ExcludingPluginFilter(java.util.Set excluded)

ExcludingPluginFilter(java.lang.String[] excluded)

 
Method Summary
protected void addPluginDependencies(java.util.List additionalList, GrailsPlugin plugin)

protected java.util.List getPluginList(java.util.List original, java.util.List pluginList)

 
Methods inherited from class BasePluginFilter
addPluginDependencies, filterPluginList, getAllPlugins, getNamedPlugin, getPluginList, getSuppliedNames, isDependentOn, registerDependency
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Constructor Detail

ExcludingPluginFilter

public ExcludingPluginFilter(java.util.Set excluded)


ExcludingPluginFilter

public ExcludingPluginFilter(java.lang.String[] excluded)


 
Method Detail

addPluginDependencies

@java.lang.Override// find the plugins which depend on the one we've excluded
protected void addPluginDependencies(java.util.List additionalList, GrailsPlugin plugin)


getPluginList

@java.lang.Override
protected java.util.List getPluginList(java.util.List original, java.util.List pluginList)


 

Groovy Documentation