public interface CompatibilityChecker
Modifier and Type | Method and Description |
---|---|
default boolean |
isCompatibleWith(CompatibilityLevel compatibilityLevel,
List<ContentHandle> existingArtifacts,
ContentHandle proposedArtifact) |
boolean |
isCompatibleWith(CompatibilityLevel compatibilityLevel,
List<String> existingArtifacts,
String proposedArtifact) |
default boolean isCompatibleWith(CompatibilityLevel compatibilityLevel, List<ContentHandle> existingArtifacts, ContentHandle proposedArtifact)
compatibilityLevel
- MUST NOT be nullexistingArtifacts
- MUST NOT be null and MUST NOT contain null elements,
but may be empty if the rule is executed and the artifact does not exist
(e.g. a global COMPATIBILITY rule with RuleApplicationType.CREATE
)proposedArtifact
- MUST NOT be nullboolean isCompatibleWith(CompatibilityLevel compatibilityLevel, List<String> existingArtifacts, String proposedArtifact)
compatibilityLevel
- MUST NOT be nullexistingArtifacts
- MUST NOT be null and MUST NOT contain null elements,
but may be empty if the rule is executed and the artifact does not exist
(e.g. a global COMPATIBILITY rule with RuleApplicationType.CREATE
)proposedArtifact
- MUST NOT be nullCopyright © 2020 Red Hat. All rights reserved.