public class FallsIntoCategorySpecification extends Specification
Represents a specification that verifies whether the passed property falls into a particular category (i.e. contains tags from the specified category).
| Constructor and Description |
|---|
FallsIntoCategorySpecification(TagCategory category)
Initializes a new instance of the
FallsIntoCategorySpecification class. |
| Modifier and Type | Method and Description |
|---|---|
TagCategory |
getCategory()
Gets the category into which a property must fall to satisfy the specification.
|
boolean |
isSatisfiedBy(MetadataProperty candidate)
Verifies whether a
MetadataProperty satisfies the specification. |
and, not, orpublic FallsIntoCategorySpecification(TagCategory category)
Initializes a new instance of the FallsIntoCategorySpecification class.
category - The category into which a property must fall to satisfy the specification.public final TagCategory getCategory()
Gets the category into which a property must fall to satisfy the specification.
public boolean isSatisfiedBy(MetadataProperty candidate)
Verifies whether a MetadataProperty satisfies the specification.
isSatisfiedBy in class Specificationcandidate - A metadata property to test.Copyright © 2026. All rights reserved.