public class

EnabledPluginPredicate

extends Object
implements PluginPredicate
java.lang.Object
   ↳ com.atlassian.plugin.predicate.EnabledPluginPredicate

Class Overview

A PluginPredicate that matches enabled plugins.

Summary

Public Constructors
EnabledPluginPredicate(PluginAccessor pluginAccessor)
Public Methods
boolean matches(Plugin plugin)

Will match a plugin according to implementation rules.

[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.predicate.PluginPredicate

Public Constructors

public EnabledPluginPredicate (PluginAccessor pluginAccessor)

Throws
IllegalArgumentException if PluginAccessor is null

Public Methods

public boolean matches (Plugin plugin)

Will match a plugin according to implementation rules.

This method must not change the state of the plugin.

Parameters
plugin the plugin to test against.
Returns
  • true if the plugin matches the predicate, false otherwise.