public List < ValidationData > getValidationDatas ( ParamType paramType , String key ) { if ( this . urlMap == null || this . validationDataRuleListMap == null ) { log . info ( "url map is empty :: " + key ) ; return null ; } if ( key == null || paramType == null ) { throw new ValidationLibException ( "any parameter is null" , HttpStatus . INTERNAL_SERVER_ERROR ) ; } ReqUrl reqUrl = urlMap . get ( key ) ; if ( reqUrl == null ) { log . info ( "reqUrl is null :" + key ) ; return null ; } return validationDataRuleListMap . get ( paramType . getUniqueKey ( reqUrl . getUniqueKey ( ) ) ) ; }
Gets validation datas .