abstract fun validate(key: String!, @Nullable position: DocumentPosition?, @Nullable value: T?): MutableList<ConfigurationError!>! (source)
Validate a configuration property.
key - String!: The configuration property key.
position - DocumentPosition?: The position of the property in the input document, if supported. This should be used when constructing errors.
value - T?: The value associated with the configuration entry.
Return
MutableList<ConfigurationError!>!: A list of errors. If no errors are found, an empty list should be returned.