| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| CompleteServiceDiff |
|
| 2.3333333333333335;2.333 |
| 1 | /* | |
| 2 | * Copyright 2011 The Kuali Foundation | |
| 3 | * | |
| 4 | * Licensed under the Educational Community License, Version 1.0 (the "License"); | |
| 5 | * you may not use this file except in compliance with the License. | |
| 6 | * You may obtain a copy of the License at | |
| 7 | * | |
| 8 | * http://www.opensource.org/licenses/ecl1.php | |
| 9 | * | |
| 10 | * Unless required by applicable law or agreed to in writing, software | |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 13 | * See the License for the specific language governing permissions and | |
| 14 | * limitations under the License. | |
| 15 | */ | |
| 16 | package org.kuali.rice.ksb.impl.registry.diff; | |
| 17 | ||
| 18 | /** | |
| 19 | * This is a description of what this class does - ewestfal don't forget to fill this in. | |
| 20 | * | |
| 21 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
| 22 | * | |
| 23 | */ | |
| 24 | public class CompleteServiceDiff { | |
| 25 | ||
| 26 | private final LocalServicesDiff localServicesDiff; | |
| 27 | private final RemoteServicesDiff remoteServicesDiff; | |
| 28 | ||
| 29 | 0 | public CompleteServiceDiff(LocalServicesDiff localServicesDiff, RemoteServicesDiff remoteServicesDiff) { |
| 30 | 0 | if (localServicesDiff == null) { |
| 31 | 0 | throw new IllegalArgumentException("localServicesDiff cannot be null"); |
| 32 | } | |
| 33 | 0 | if (remoteServicesDiff == null) { |
| 34 | 0 | throw new IllegalArgumentException("remoteServicesDiff cannot be null"); |
| 35 | } | |
| 36 | 0 | this.localServicesDiff = localServicesDiff; |
| 37 | 0 | this.remoteServicesDiff = remoteServicesDiff; |
| 38 | 0 | } |
| 39 | ||
| 40 | public LocalServicesDiff getLocalServicesDiff() { | |
| 41 | 0 | return this.localServicesDiff; |
| 42 | } | |
| 43 | ||
| 44 | public RemoteServicesDiff getRemoteServicesDiff() { | |
| 45 | 0 | return this.remoteServicesDiff; |
| 46 | } | |
| 47 | ||
| 48 | } |