001/** 002 * Copyright 2010-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 */ 016package org.kuali.common.util; 017 018import java.io.File; 019import java.util.List; 020 021@Deprecated 022public class DirectoryDiff { 023 024 // The directories that were diff'd 025 File dir1; 026 File dir2; 027 028 // Relative paths characterizing what files were found where 029 List<String> both; 030 List<String> dir1Only; 031 List<String> dir2Only; 032 033 public DirectoryDiff() { 034 this(null, null); 035 } 036 037 public DirectoryDiff(File dir1, File dir2) { 038 super(); 039 this.dir1 = dir1; 040 this.dir2 = dir2; 041 } 042 043 public List<String> getDir1Only() { 044 return dir1Only; 045 } 046 047 public void setDir1Only(List<String> dir1Only) { 048 this.dir1Only = dir1Only; 049 } 050 051 public List<String> getDir2Only() { 052 return dir2Only; 053 } 054 055 public void setDir2Only(List<String> dir2Only) { 056 this.dir2Only = dir2Only; 057 } 058 059 public List<String> getBoth() { 060 return both; 061 } 062 063 public void setBoth(List<String> both) { 064 this.both = both; 065 } 066 067 public File getDir1() { 068 return dir1; 069 } 070 071 public void setDir1(File dir1) { 072 this.dir1 = dir1; 073 } 074 075 public File getDir2() { 076 return dir2; 077 } 078 079 public void setDir2(File dir2) { 080 this.dir2 = dir2; 081 } 082 083}