|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.plugin.predicate.BambooPluginPredicates
public final class BambooPluginPredicates
Useful implementations of PluginPredicate
and Predicate
related to plugins.
Method Summary | |
---|---|
static com.atlassian.plugin.predicate.PluginPredicate |
and(com.atlassian.plugin.predicate.PluginPredicate... predicates)
|
static com.google.common.base.Predicate<com.atlassian.plugin.Plugin> |
isRemoteAgentSupported()
Predicate that returns true if a plugin should run on agents, i.e. |
static com.google.common.base.Predicate<com.atlassian.plugin.Plugin> |
isSystemProvided(com.atlassian.plugin.metadata.PluginMetadataManager pluginMetadataManager)
Predicate that returns true if a plugin is provided by the system. |
static com.google.common.base.Predicate<com.atlassian.plugin.Plugin> |
isUserInstalled(com.atlassian.plugin.metadata.PluginMetadataManager pluginMetadataManager)
Predicate that returns true if a plugin is user installed. |
static com.atlassian.plugin.predicate.PluginPredicate |
or(com.atlassian.plugin.predicate.PluginPredicate... predicates)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static com.atlassian.plugin.predicate.PluginPredicate and(com.atlassian.plugin.predicate.PluginPredicate... predicates)
public static com.atlassian.plugin.predicate.PluginPredicate or(com.atlassian.plugin.predicate.PluginPredicate... predicates)
public static com.google.common.base.Predicate<com.atlassian.plugin.Plugin> isRemoteAgentSupported()
true
if a plugin should run on agents, i.e. if any of its
modules is annotated with RemoteAgentSupported
.
public static com.google.common.base.Predicate<com.atlassian.plugin.Plugin> isUserInstalled(com.atlassian.plugin.metadata.PluginMetadataManager pluginMetadataManager)
true
if a plugin is user installed.
Needs instance of PluginMetadataManager
to do the job.
pluginMetadataManager
- manager used to do the check
public static com.google.common.base.Predicate<com.atlassian.plugin.Plugin> isSystemProvided(com.atlassian.plugin.metadata.PluginMetadataManager pluginMetadataManager)
true
if a plugin is provided by the system.
Needs instance of PluginMetadataManager
to do the job.
pluginMetadataManager
- manager used to do the check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |