1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kew.role;
17
18 import org.kuali.rice.kew.engine.RouteContext;
19
20 import java.util.ArrayList;
21 import java.util.HashMap;
22 import java.util.List;
23 import java.util.Map;
24
25
26
27
28
29
30
31
32 public class TestQualifierResolver implements QualifierResolver {
33
34 public List<Map<String, String>> resolve(RouteContext context) {
35 List<Map<String, String>> resolved = new ArrayList<Map<String, String>>();
36
37 Map<String, String> qualifications = new HashMap<String, String>();
38 qualifications.put("chart", "BL");
39 qualifications.put("org", "BUS");
40 resolved.add(qualifications);
41
42 qualifications = new HashMap<String, String>();
43 qualifications.put("chart", "IN");
44 qualifications.put("org", "MED");
45 resolved.add(qualifications);
46
47 return resolved;
48 }
49
50 }