Interface Applicable
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ApplicabilityDependency
- All Known Implementing Classes:
Applicability
,ApplicabilityDependencyCommentLeaf
,ApplicabilityDependencyGroup
,ApplicabilityDependencyIntersection
,ApplicabilityDependencySimpleLeaf
,ApplicabilityDependencyUnion
public interface Applicable extends Serializable
An applicable object is an artifact that can be filtered by applicability. The resulting applicability after filtering can be union or intersection of several applicabilities.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Applicability
calcApplicability(ApplicabilityFilter filter)
Calculate the applicability of a comment or for referenced comments (so called dependencies).
-
-
-
Method Detail
-
calcApplicability
Applicability calcApplicability(ApplicabilityFilter filter)
Calculate the applicability of a comment or for referenced comments (so called dependencies). The calculated applicability might result from a union or intersection of grouped dependencies. The calculation leaves out artifacts that do not pass the givenfilter
. If no applicability can be calculated, because all relevant artifacts are filtered out,Applicability.MINIMUM_APPLICABILITY
is returned.- Parameters:
filter
- filter- Returns:
- the calculated applicability
-
-