-
- All Implemented Interfaces:
-
org.radarbase.schema.validation.rules.SchemaMetadataRules
public final class RadarSchemaMetadataRules implements SchemaMetadataRules
Rules for schemas with metadata in RADAR-Schemas.
-
-
Field Summary
Fields Modifier and Type Field Description private final SchemaRulesschemaRules
-
Constructor Summary
Constructors Constructor Description RadarSchemaMetadataRules(Path schemaRoot, SchemaConfig config, SchemaRules schemaRules)RadarSchemaMetadataRules(Path schemaRoot, SchemaConfig config)
-
Method Summary
Modifier and Type Method Description SchemaRulesgetSchemaRules()Validator<SchemaMetadata>validateSchemaLocation()Checks the location of a schema with its internal data. Validator<SchemaMetadata>schema(Validator<Schema> validator)Validates schemas without their metadata. -
-
Constructor Detail
-
RadarSchemaMetadataRules
RadarSchemaMetadataRules(Path schemaRoot, SchemaConfig config, SchemaRules schemaRules)
-
RadarSchemaMetadataRules
RadarSchemaMetadataRules(Path schemaRoot, SchemaConfig config)
-
-
Method Detail
-
getSchemaRules
SchemaRules getSchemaRules()
-
validateSchemaLocation
Validator<SchemaMetadata> validateSchemaLocation()
Checks the location of a schema with its internal data.
-
schema
Validator<SchemaMetadata> schema(Validator<Schema> validator)
Validates schemas without their metadata.
-
-
-
-