1 |
|
package org.kuali.student.common.search.service.impl; |
2 |
|
|
3 |
|
import java.util.ArrayList; |
4 |
|
import java.util.List; |
5 |
|
import java.util.Map; |
6 |
|
|
7 |
|
import org.kuali.student.common.search.dto.SearchTypeInfo; |
8 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
9 |
|
public class SearchConfigValidator { |
10 |
|
private Map<String, SearchTypeInfo> searchInfoTypeMap; |
11 |
|
|
12 |
|
|
13 |
|
private Map<String, String> queryMap; |
14 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
15 |
8
|
public SearchConfigValidator(Map<String, SearchTypeInfo> searchInfoTypeMap,... |
16 |
|
Map<String, String> queryMap) { |
17 |
8
|
this.searchInfoTypeMap = searchInfoTypeMap; |
18 |
8
|
this.queryMap = queryMap; |
19 |
|
} |
20 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
21 |
8
|
public List<String> validate() {... |
22 |
8
|
List<String> errors = new ArrayList<String>(); |
23 |
|
|
24 |
8
|
return errors; |
25 |
|
} |
26 |
|
} |