1 package com.atlassian.plugin.predicate;
2
3 import com.atlassian.plugin.Plugin;
4
5 /**
6 * Interface used to match plugins according to implementation specific rules.
7 *
8 * @since 0.17
9 * @deprecated in 5.0 for removal in 6.0
10 */
11 @Deprecated
12 public interface PluginPredicate {
13 /**
14 * Will match a plugin according to implementation rules.
15 * <p>
16 * This method must not change the state of the plugin.
17 *
18 * @param plugin the plugin to test against.
19 * @return <code>true</code> if the plugin matches the predicate, <code>false</code> otherwise.
20 */
21 boolean matches(final Plugin plugin);
22 }