Interface CapabilityRequirementsMatcher
-
- All Known Implementing Classes:
CapabilityRequirementsMatcherImpl
public interface CapabilityRequirementsMatcher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
matches(@NotNull ReadOnlyCapabilitySet capabilities, Requirement requirement)
Deprecated.since 6.2 usematches(ReadOnlyCapabilitySet, ImmutableRequirement)
boolean
matches(@NotNull ReadOnlyCapabilitySet capabilities, ImmutableRequirement requirement)
Match a requirement to a requirement setboolean
matches(@NotNull ReadOnlyCapabilitySet capabilities, ImmutableRequirementSet requirements)
Match a capability set to a requirement set.@NotNull CapabilityMatchResult
matchesWithResult(@NotNull ReadOnlyCapabilitySet capabilities, ImmutableRequirementSet requirements)
-
-
-
Method Detail
-
matches
boolean matches(@NotNull @NotNull ReadOnlyCapabilitySet capabilities, ImmutableRequirementSet requirements)
Match a capability set to a requirement set. In case of null or empty requirements this method will return true. If match, the agents capabilities meet the requirements.- Parameters:
capabilities
-requirements
-- Returns:
-
matches
@Deprecated boolean matches(@NotNull @NotNull ReadOnlyCapabilitySet capabilities, Requirement requirement)
Deprecated.since 6.2 usematches(ReadOnlyCapabilitySet, ImmutableRequirement)
Match a requirement to a requirement set- Parameters:
capabilities
-requirement
-
-
matches
boolean matches(@NotNull @NotNull ReadOnlyCapabilitySet capabilities, ImmutableRequirement requirement)
Match a requirement to a requirement set- Parameters:
capabilities
-requirement
-- Returns:
-
matchesWithResult
@NotNull @NotNull CapabilityMatchResult matchesWithResult(@NotNull @NotNull ReadOnlyCapabilitySet capabilities, ImmutableRequirementSet requirements)
-
-