Interface ValidationContext.Message
- Enclosing interface:
ValidationContext
public static interface ValidationContext.Message
Represents a message object used in error message interpolation.
-
Method Summary
-
Method Details
-
template
String template()Get the template for the message. A lookup will be performed on the configured resource bundles to interpolate the message- Returns:
- The template for the message
-
attributes
-
lookupkey
String lookupkey()Get the lookup key for the message.- Returns:
- The template for the message + a unique number for deduplication purposes.
-