com.atlassian.bamboo.v2.build.agent
Interface BuildAgentRequirementFilter
public interface BuildAgentRequirementFilter
BuildAgentRequirementFilter
Simple interface to fitler a collection of Build Agents by a set of
Requirements
- Author:
- jdumay
filter
java.util.Collection<BuildAgent> filter(BuildContext buildContext,
java.util.Collection<BuildAgent> agents,
RequirementSet requirements)
- Filter the given colletion of agents by the requirements
- Parameters:
buildContext
- the build contextagents
- immutable collection of agentsrequirements
- immutable set of Requirements
- Returns:
- collection of filtered build agents
Copyright © 2011 Atlassian. All Rights Reserved.