Class TypedResourceDescription

All Implemented Interfaces:
MessageSourceResolvable, ResourceDescription

public class TypedResourceDescription extends SimpleResourceDescription
SimpleResourceDescription that additionally captures a type to be able to potentially create a reasonable default message. The implementation will do so for enum types by rendering the available values as default message and also provide them as arguments for message resolution.
Author:
Oliver Gierke