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 Detail

      • filter

        @NotNull
        @NotNull Collection<BuildAgent> filter​(CommonContext context,
                                               Collection<BuildAgent> agents,
                                               MinimalRequirementSet requirements)
        Filter the given collection of agents by the requirements
        Parameters:
        context - context
        agents - immutable collection of agents
        requirements - immutable set of Requirements
        Returns:
        collection of filtered build agents