Uses of Interface
org.phenopackets.phenopackettools.validator.core.ValidationResults
Package
Description
The package provides APIs and default implementations of phenopacket validation.
A package with API for serialization of
ValidationResults
.The package provides
JsonSchemaValidationWorkflowRunner
and JsonSchemaValidationWorkflowRunnerBuilder
for validating phenopackets.-
Uses of ValidationResults in org.phenopackets.phenopackettools.validator.core
Modifier and TypeMethodDescriptionValidationResults.Builder.build()
static ValidationResults
ValidationResults.empty()
static ValidationResults
ValidationResults.of
(List<ValidatorInfo> validators, List<ValidationResult> validationResults) ValidationWorkflowRunner.validate
(byte[] payload) Validate a top-level element starting from a pile of bytes.default ValidationResults
ValidationWorkflowRunner.validate
(InputStream is) Validate a top-level element starting from a string.default ValidationResults
Validate a top-level element starting from a protobuf item.ValidationWorkflowDispatcher.validateCohort
(byte[] bytes) Validate a cohort starting from a pile of bytes.ValidationWorkflowDispatcher.validateCohort
(String string) Validate a cohort starting from a string.ValidationWorkflowDispatcher.validateCohort
(org.phenopackets.schema.v2.Cohort cohort) Validate a cohort starting from a protobuf object.ValidationWorkflowDispatcher.validateFamily
(byte[] bytes) Validate a family starting from a pile of bytes.ValidationWorkflowDispatcher.validateFamily
(String string) Validate a family starting from a string.ValidationWorkflowDispatcher.validateFamily
(org.phenopackets.schema.v2.Family family) Validate a family starting from a protobuf object.ValidationWorkflowDispatcher.validatePhenopacket
(byte[] bytes) Validate a phenopacket starting from a pile of bytes.ValidationWorkflowDispatcher.validatePhenopacket
(String string) Validate a phenopacket starting from a string.ValidationWorkflowDispatcher.validatePhenopacket
(org.phenopackets.schema.v2.Phenopacket phenopacket) Validate a phenopacket starting from a protobuf object. -
Uses of ValidationResults in org.phenopackets.phenopackettools.validator.core.writer
Modifier and TypeMethodDescriptionValidationResultsAndPath.results()
Returns the value of theresults
record component.ModifierConstructorDescriptionValidationResultsAndPath
(ValidationResults results, Path path) Creates an instance of aValidationResultsAndPath
record class. -
Uses of ValidationResults in org.phenopackets.phenopackettools.validator.jsonschema