com.atlassian.bamboo.v2.build.agent.capability
Interface CapabilityRequirementsMatcher
- All Known Implementing Classes:
- CapabilityRequirementsMatcherImpl
public interface CapabilityRequirementsMatcher
matches
boolean matches(@NotNull
ReadOnlyCapabilitySet capabilities,
MinimalRequirementSet 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,
MinimalRequirementSet requirements)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.