Interface BuildAgentRequirementFilter
@Internal
public interface BuildAgentRequirementFilter
Simple interface to filter a collection of Build Agents by a set of
Requirements
NOTE: since Bamboo 3.3, Atlassian has marked this extension point as INTERNAL ONLY.
Implementing this interface incorrectly can seriously hinder your system.
-
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<BuildAgent>
filter
(CommonContext context, Collection<BuildAgent> agents, MinimalRequirementSet requirements) Filter the given collection of agents by the requirements
-
Method Details
-
filter
@NotNull @NotNull Collection<BuildAgent> filter(CommonContext context, Collection<BuildAgent> agents, MinimalRequirementSet requirements) Filter the given collection of agents by the requirements- Parameters:
context
- contextagents
- immutable collection of agentsrequirements
- immutable set of Requirements- Returns:
- collection of filtered build agents
-