public class EnabledPluginPredicate extends Object implements PluginPredicate
PluginPredicate that matches enabled plugins.| Constructor and Description |
|---|
EnabledPluginPredicate(PluginAccessor pluginAccessor) |
public EnabledPluginPredicate(PluginAccessor pluginAccessor)
IllegalArgumentException - if PluginAccessor is nullpublic boolean matches(Plugin plugin)
PluginPredicateWill match a plugin according to implementation rules.
This method must not change the state of the plugin.
matches in interface PluginPredicateplugin - the plugin to test against.true if the plugin matches the predicate, false otherwise.Copyright © 2014 Atlassian. All rights reserved.