org.codehaus.groovy.grails.plugins
Class IncludingPluginFilter
java.lang.Object
org.codehaus.groovy.grails.plugins.BasePluginFilter
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IncludingPluginFilter
public IncludingPluginFilter(Set included)
IncludingPluginFilter
public IncludingPluginFilter(String[] included)
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