tuweni / org.apache.tuweni.config / PropertyValidator / anyOfIgnoreCase

anyOfIgnoreCase

open static fun anyOfIgnoreCase(vararg values: String!): PropertyValidator<String!>! (source)

A validator that ensures a property, if present, has a value within a given set.

Parameters

values - String!: The acceptable values.

Return
PropertyValidator<String!>!: A validator that ensures a property, if present, is within a given set.

open static fun anyOfIgnoreCase(values: MutableCollection<String!>!): PropertyValidator<String!>! (source)

A validator that ensures a property, if present, has a value within a given set.

Parameters

values - MutableCollection<String!>!: The acceptable values.

Return
PropertyValidator<String!>!: A validator that ensures a property, if present, is within a given set.