static Map < String , Object > simplePayload ( final String name ) { if ( name == null ) { return null ; } Map < String , Object > payload = new LinkedHashMap <> ( ) ; payload . put ( "message" , MSG_PREFIX + name ) ; return payload ; }
Creates a new map representing a simple validation constraint .