com.atlassian.plugin.predicate
Class EnabledPluginPredicate
java.lang.Object
com.atlassian.plugin.predicate.EnabledPluginPredicate
- All Implemented Interfaces:
- PluginPredicate
public class EnabledPluginPredicate
- extends Object
- implements PluginPredicate
A PluginPredicate that matches enabled plugins.
|
Method Summary |
boolean |
matches(Plugin plugin)
Will match a plugin according to implementation rules. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnabledPluginPredicate
public EnabledPluginPredicate(PluginAccessor pluginAccessor)
- Throws:
IllegalArgumentException - if PluginAccessor is null
matches
public boolean matches(Plugin plugin)
- Description copied from interface:
PluginPredicate
Will match a plugin according to implementation rules.
This method must not change the state of the plugin.
- Specified by:
matches in interface PluginPredicate
- Parameters:
plugin - the plugin to test against.
- Returns:
true if the plugin matches the predicate, false otherwise.
Copyright © 2011 Atlassian. All Rights Reserved.