WarnValues class
Values of a @ConfigurationProperties field that are accepted but
that the editor should warn about, with the reason in message.
It is for the editor metadata only (warn in spring_metadata.json).
values are enum constants or literals, such as [Mode.insecure] or
['*'].
/// How to treat certificates.
@WarnValues([TlsMode.insecure], 'Skips certificate checks.')
TlsMode tls = TlsMode.verify;
Constructors
-
WarnValues(List<
Object> values, String message) -
Warns about
valueswithmessage.const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited