org.codehaus.groovy.grails.plugins
Class IncludingPluginFilter

java.lang.Object
  extended by org.codehaus.groovy.grails.plugins.BasePluginFilter
      extended by org.codehaus.groovy.grails.plugins.IncludingPluginFilter
All Implemented Interfaces:
PluginFilter

public class IncludingPluginFilter
extends BasePluginFilter

Implementation of PluginFilter which ensures that only the supplied plugins (identified by name) as well as their dependencies are included in the filtered plugin list

Author:
Phil Zoio

Field Summary
 
Fields inherited from class org.codehaus.groovy.grails.plugins.BasePluginFilter
nameMap
 
Constructor Summary
IncludingPluginFilter(Set included)
           
IncludingPluginFilter(String[] included)
           
 
Method Summary
protected  void addPluginDependencies(List additionalList, GrailsPlugin plugin)
          Defines operation for adding dependencies for a plugin to the list
protected  List getPluginList(List original, List pluginList)
          Defines an operation getting the final list to return from the original and derived lists
 
Methods inherited from class org.codehaus.groovy.grails.plugins.BasePluginFilter
filterPluginList, getAllPlugins, getNamedPlugin, getSuppliedNames, isDependentOn, registerDependency
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncludingPluginFilter

public IncludingPluginFilter(Set included)

IncludingPluginFilter

public IncludingPluginFilter(String[] included)
Method Detail

getPluginList

protected List getPluginList(List original,
                             List pluginList)
Description copied from class: BasePluginFilter
Defines an operation getting the final list to return from the original and derived lists

Specified by:
getPluginList in class BasePluginFilter

addPluginDependencies

protected void addPluginDependencies(List additionalList,
                                     GrailsPlugin plugin)
Description copied from class: BasePluginFilter
Defines operation for adding dependencies for a plugin to the list

Specified by:
addPluginDependencies in class BasePluginFilter


Copyright (c) 2005-2009 The Grails project