com.atlassian.bamboo.v2.build.agent.capability
Class CapabilityRequirementsMatcherImpl
java.lang.Object
com.atlassian.bamboo.v2.build.agent.capability.CapabilityRequirementsMatcherImpl
- All Implemented Interfaces:
- CapabilityRequirementsMatcher
public class CapabilityRequirementsMatcherImpl
- extends Object
- implements CapabilityRequirementsMatcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CapabilityRequirementsMatcherImpl
public CapabilityRequirementsMatcherImpl()
matches
public boolean matches(@NotNull
ReadOnlyCapabilitySet capabilities,
Requirement requirement)
- Description copied from interface:
CapabilityRequirementsMatcher
- Match a requirement to a requirement set
- Specified by:
matches
in interface CapabilityRequirementsMatcher
- Returns:
matches
public boolean matches(@NotNull
ReadOnlyCapabilitySet capabilities,
MinimalRequirementSet requirements)
- Description copied from interface:
CapabilityRequirementsMatcher
- Match a capability set to a requirement set.
If match, the agents capabilities meet the requirements.
- Specified by:
matches
in interface CapabilityRequirementsMatcher
- Returns:
matchesWithResult
@NotNull
public CapabilityMatchResult matchesWithResult(@NotNull
ReadOnlyCapabilitySet capabilities,
@Nullable
MinimalRequirementSet requirements)
- Specified by:
matchesWithResult
in interface CapabilityRequirementsMatcher
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.