View Javadoc
1   /**
2    * Copyright 2010-2014 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.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/ecl2.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.common.util;
17  
18  import java.io.File;
19  import java.util.List;
20  
21  @Deprecated
22  public class DirectoryDiff {
23  
24  	// The directories that were diff'd
25  	File dir1;
26  	File dir2;
27  
28  	// Relative paths characterizing what files were found where
29  	List<String> both;
30  	List<String> dir1Only;
31  	List<String> dir2Only;
32  
33  	public DirectoryDiff() {
34  		this(null, null);
35  	}
36  
37  	public DirectoryDiff(File dir1, File dir2) {
38  		super();
39  		this.dir1 = dir1;
40  		this.dir2 = dir2;
41  	}
42  
43  	public List<String> getDir1Only() {
44  		return dir1Only;
45  	}
46  
47  	public void setDir1Only(List<String> dir1Only) {
48  		this.dir1Only = dir1Only;
49  	}
50  
51  	public List<String> getDir2Only() {
52  		return dir2Only;
53  	}
54  
55  	public void setDir2Only(List<String> dir2Only) {
56  		this.dir2Only = dir2Only;
57  	}
58  
59  	public List<String> getBoth() {
60  		return both;
61  	}
62  
63  	public void setBoth(List<String> both) {
64  		this.both = both;
65  	}
66  
67  	public File getDir1() {
68  		return dir1;
69  	}
70  
71  	public void setDir1(File dir1) {
72  		this.dir1 = dir1;
73  	}
74  
75  	public File getDir2() {
76  		return dir2;
77  	}
78  
79  	public void setDir2(File dir2) {
80  		this.dir2 = dir2;
81  	}
82  
83  }