tuweni / org.apache.tuweni.config / Schema / validate

validate

fun validate(configuration: Configuration!): Stream<ConfigurationError!>! (source)

Validate a configuration against this schema.

The validations are done incrementally as the stream is consumed. Use .limit(...) on the stream to control the maximum number of validation errors to receive.

Parameters

configuration - Configuration!: The configuration to validate.

Return
Stream<ConfigurationError!>!: A stream containing any errors encountered during validation.