public class PluginFilterRetriever extends java.lang.Object
Resolves the appropriate PluginFilter implementation from Grails plugin filter configuration.
Resolution is driven by the supplied Environment using the following precedence:
The resolved filter is cached per retriever instance, so repeated lookups return the same filter.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public PluginFilter |
getPluginFilter(Environment environment)Returns the cached plugin filter for this retriever, resolving it from the environment on first access. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Returns the cached plugin filter for this retriever, resolving it from the environment on first access.
environment - the environment containing plugin include and exclude configuration