A SchemaValidator for validating the provided schema against the
first Schema in the iterable in validate(Schema, Iterable).
Uses the SchemaValidationStrategy provided in the constructor to
validate the schema against the first Schema in the iterable, if it exists,
via SchemaValidationStrategy#validate(Schema, Schema).
| Modifier and Type | Field and Description |
|---|---|
| private final SchemaValidationStrategy |
| Access | Constructor and Description |
|---|---|
| public | ValidateLatest(SchemaValidationStrategy
The strategy to use for validation of pairwise schemas. strategy)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | validate(Schema
The schema to validate toValidate, Iterable<Schema> The schemas to validate against, in order from most recent
to latest if applicable schemasInOrder)Implements org. |
| strategy | back to summary |
|---|---|
| private final SchemaValidationStrategy strategy | |
| ValidateLatest | back to summary |
|---|---|
public ValidateLatest(SchemaValidationStrategy strategy)
| |
| validate | back to summary |
|---|---|
| public void validate(Schema toValidate, Iterable<Schema> schemasInOrder) throws SchemaValidationException Implements org. Doc from org. Validate one schema against others. The order of the schemas to validate against is chronological from most recent to oldest, if there is a natural chronological order. This allows some validators to identify which schemas are the most "recent" in order to validate only against the most recent schema(s).
| |