com.atlassian.bamboo.v2.build.agent.capability
Interface CapabilityRequirementsMatcher
- All Known Implementing Classes:
- CapabilityRequirementsMatcherImpl
public interface CapabilityRequirementsMatcher
matches
boolean matches(@NotNull
ReadOnlyCapabilitySet capabilities,
RequirementSet requirements)
- Match a capability set to a requirement set.
If match, the agents capabilities meet the requirements.
- Parameters:
capabilities
- requirements
-
- Returns:
matches
boolean matches(@NotNull
ReadOnlyCapabilitySet capabilities,
Requirement requirement)
- Match a requirement to a requirement set
- Parameters:
capabilities
- requirement
-
- Returns:
matchesWithResult
@NotNull
CapabilityMatchResult matchesWithResult(@NotNull
ReadOnlyCapabilitySet capabilities,
RequirementSet requirements)
Copyright © 2010 Atlassian. All Rights Reserved.