Package | Description |
---|---|
io.apicurio.datamodels.core.models | |
io.apicurio.datamodels.core.validation |
Modifier and Type | Field and Description |
---|---|
ValidationProblemSeverity |
ValidationProblem.severity |
Modifier and Type | Method and Description |
---|---|
static ValidationProblemSeverity |
ValidationProblemSeverity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationProblemSeverity[] |
ValidationProblemSeverity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ValidationProblem |
Node.addValidationProblem(String errorCode,
NodePath nodePath,
String property,
String message,
ValidationProblemSeverity severity)
Adds a validation problem to the data model.
|
Constructor and Description |
---|
ValidationProblem(String errorCode,
NodePath nodePath,
String property,
String message,
ValidationProblemSeverity severity)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ValidationProblemSeverity |
IValidationSeverityRegistry.lookupSeverity(ValidationRuleMetaData rule)
Determine what severity to use when reporting on the given rule.
|
ValidationProblemSeverity |
DefaultSeverityRegistry.lookupSeverity(ValidationRuleMetaData rule) |
Copyright © 2021 Red Hat. All rights reserved.