001 /** 002 * Copyright 2005-2014 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 package org.kuali.rice.ksb.impl.bus.diff; 017 018 import java.util.ArrayList; 019 import java.util.List; 020 021 import org.kuali.rice.ksb.api.registry.ServiceInfo; 022 import org.kuali.rice.ksb.impl.bus.RemoteService; 023 024 /** 025 * TODO... 026 * 027 * @author Kuali Rice Team (rice.collab@kuali.org) 028 * 029 */ 030 public class RemoteServicesDiff { 031 032 private final List<ServiceInfo> newServices; 033 private final List<RemoteService> removedServices; 034 035 public RemoteServicesDiff(List<ServiceInfo> newServices, List<RemoteService> removedServices) { 036 this.newServices = newServices == null ? new ArrayList<ServiceInfo>(0) : newServices; 037 this.removedServices = removedServices == null ? new ArrayList<RemoteService>(0) : removedServices; 038 } 039 040 041 public List<ServiceInfo> getNewServices() { 042 return this.newServices; 043 } 044 045 public List<RemoteService> getRemovedServices() { 046 return this.removedServices; 047 } 048 049 }