com.atlassian.plugin.predicate
Class PluginKeyPatternsPredicate
java.lang.Object
com.atlassian.plugin.predicate.PluginKeyPatternsPredicate
- All Implemented Interfaces:
- PluginPredicate
@ExperimentalApi
public class PluginKeyPatternsPredicate
- extends Object
- implements PluginPredicate
A plugin predicate which matches regular expressions against plugin keys.
|
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 |
PluginKeyPatternsPredicate
public PluginKeyPatternsPredicate(PluginKeyPatternsPredicate.MatchType matchType,
Collection<String> parts)
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 © 2015 Atlassian. All rights reserved.