Uses of Enum
dev.metaschema.core.model.constraint.IConstraint.Level
Packages that use IConstraint.Level
Package
Description
Metaschema constraint definitions and validation framework.
Schema-based content validation for Metaschema instances.
-
Uses of IConstraint.Level in dev.metaschema.core.model.constraint
Fields in dev.metaschema.core.model.constraint declared as IConstraint.LevelModifier and TypeFieldDescriptionstatic final IConstraint.LevelIReportConstraint.DEFAULT_LEVELThe default severity level for report constraints.Methods in dev.metaschema.core.model.constraint that return IConstraint.LevelModifier and TypeMethodDescriptionstatic IConstraint.LevelIConstraint.defaultLevel()Get the default level to use if no level is provided.FindingCollectingConstraintValidationHandler.getHighestSeverity()protected IConstraint.LevelAbstractConstraintBuilder.getLevel()Get the constraint severity level provided to the builder.IConstraint.getLevel()The significance of a violation of this constraint.protected IConstraint.LevelIReportConstraint.Builder.getLevel()ConstraintValidationFinding.getSeverity()static IConstraint.LevelReturns the enum constant of this type with the specified name.static IConstraint.Level[]IConstraint.Level.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in dev.metaschema.core.model.constraint with parameters of type IConstraint.LevelModifier and TypeMethodDescriptionAbstractConstraintBuilder.level(IConstraint.Level level) Set the severity level for when the constraint is violated.IReportConstraint.Builder.level(IConstraint.Level level) Set the severity level for when the constraint is violated.ConstraintValidationFinding.Builder.severity(IConstraint.Level severity) Use the provided severity for the validation finding. -
Uses of IConstraint.Level in dev.metaschema.core.model.validation
Methods in dev.metaschema.core.model.validation that return IConstraint.LevelModifier and TypeMethodDescriptionAggregateValidationResult.getHighestSeverity()IValidationResult.getHighestSeverity()Get the highest finding severity level for the validation.IValidationFinding.getSeverity()Get the finding's severity.JsonSchemaContentValidator.JsonValidationFinding.getSeverity()XmlSchemaContentValidator.XmlValidationFinding.getSeverity()Constructors in dev.metaschema.core.model.validation with parameters of type IConstraint.LevelModifierConstructorDescriptionXmlValidationFinding(IConstraint.Level severity, SAXParseException exception, URI resourceUri) Construct a new XML schema validation finding, which represents an issue identified during XML schema validation.