Uses of Interface
org.phenopackets.phenopackettools.validator.core.ValidationResult
Package
Description
The package provides APIs and default implementations of phenopacket validation.
-
Uses of ValidationResult in org.phenopackets.phenopackettools.validator.core
Modifier and TypeClassDescriptionclass
APhenopacketToolsException
that is thrown byPhenopacketConverter
in case the provided data has incorrect format.Modifier and TypeMethodDescriptionstatic ValidationResult
ValidationResult.error
(ValidatorInfo validatorInfo, String category, String message) Create aValidationLevel.ERROR
result from given data.static ValidationResult
ValidationResult.of
(ValidatorInfo validatorInfo, ValidationLevel level, String category, String message) Create aValidationResult
from given data.static ValidationResult
ValidationResult.warning
(ValidatorInfo validatorInfo, String category, String message) Create aValidationLevel.WARNING
result from given data.Modifier and TypeMethodDescriptionValidationResults.Builder.addResult
(ValidatorInfo info, ValidationResult result) Modifier and TypeMethodDescriptionValidationResults.Builder.addResults
(ValidatorInfo info, List<ValidationResult> results)