com.atlassian.bamboo.v2.build.agent
Interface BuildAgentRequirementFilter


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
 java.util.Collection<BuildAgent> filter(CommonContext context, java.util.Collection<BuildAgent> agents, RequirementSet requirements)
          Filter the given collection of agents by the requirements
 

Method Detail

filter

java.util.Collection<BuildAgent> filter(CommonContext context,
                                        java.util.Collection<BuildAgent> agents,
                                        RequirementSet 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


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.