@Internal
public interface AgentPluginResolver
Plugin
is supposed to run on remote agents.Modifier and Type | Interface and Description |
---|---|
static class |
AgentPluginResolver.AgentPluginFilter |
Modifier and Type | Method and Description |
---|---|
Iterable<com.atlassian.plugin.Plugin> |
getAgentPlugins(AgentPluginResolver.AgentPluginFilter filter)
Get agent plugins (i.e.
|
boolean |
matches(com.atlassian.plugin.Plugin plugin,
AgentPluginResolver.AgentPluginFilter filter)
Check whether plugin matches given filter.
|
Iterable<com.atlassian.plugin.Plugin> getAgentPlugins(AgentPluginResolver.AgentPluginFilter filter)
Get agent plugins (i.e. plugins supposed to run on remote agents) for given filter.
This method returns all currently installed plugins, for which
matches(com.atlassian.plugin.Plugin, com.atlassian.bamboo.plugin.AgentPluginResolver.AgentPluginFilter)
will return true
.
filter
- agent plugin filterboolean matches(com.atlassian.plugin.Plugin plugin, AgentPluginResolver.AgentPluginFilter filter)
plugin
- plugin to checkfilter
- agent filter to matchtrue
, if the plugin matches the filter.Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.