1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.ksb.impl.bus.diff;
17
18 import java.util.ArrayList;
19 import java.util.List;
20
21 import org.kuali.rice.ksb.api.registry.ServiceInfo;
22 import org.kuali.rice.ksb.impl.bus.RemoteService;
23
24
25
26
27
28
29
30 public class RemoteServicesDiff {
31
32 private final List<ServiceInfo> newServices;
33 private final List<RemoteService> removedServices;
34
35 public RemoteServicesDiff(List<ServiceInfo> newServices, List<RemoteService> removedServices) {
36 this.newServices = newServices == null ? new ArrayList<ServiceInfo>(0) : newServices;
37 this.removedServices = removedServices == null ? new ArrayList<RemoteService>(0) : removedServices;
38 }
39
40
41 public List<ServiceInfo> getNewServices() {
42 return this.newServices;
43 }
44
45 public List<RemoteService> getRemovedServices() {
46 return this.removedServices;
47 }
48
49 }