Revision 60873
Added by Antonis Lempesis about 3 years ago
ValidatorServiceImpl.java | ||
---|---|---|
79 | 79 |
key = Constants.VALIDATION_MODE_LITERATURE; |
80 | 80 |
else if (ruleSet.getGuidelinesAcronym().matches("^openaire[1-9].0_cris$")) |
81 | 81 |
key = Constants.VALIDATION_MODE_CRIS; |
82 |
else if (ruleSet.getGuidelinesAcronym().matches(".*fair$")) |
|
83 |
key = Constants.VALIDATION_MODE_FAIR; |
|
82 | 84 |
|
83 | 85 |
if (rulesetMap.containsKey(key)) |
84 | 86 |
rulesetMap.get(key).add(ruleSet); |
Also available in: Unified diff
returning fair guidelines as such