1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.common.util.file;
17
18 import java.io.File;
19 import java.util.List;
20
21 public class DirDiff {
22
23
24 File sourceDir;
25 File targetDir;
26
27
28 List<String> both;
29 List<MD5Result> different;
30 List<MD5Result> identical;
31 List<String> sourceDirOnly;
32 List<String> targetDirOnly;
33
34 public DirDiff() {
35 this(null, null);
36 }
37
38 public DirDiff(File sourceDir, File targetDir) {
39 super();
40 this.sourceDir = sourceDir;
41 this.targetDir = targetDir;
42 }
43
44 public File getSourceDir() {
45 return sourceDir;
46 }
47
48 public void setSourceDir(File sourceDir) {
49 this.sourceDir = sourceDir;
50 }
51
52 public File getTargetDir() {
53 return targetDir;
54 }
55
56 public void setTargetDir(File targetDir) {
57 this.targetDir = targetDir;
58 }
59
60 public List<String> getBoth() {
61 return both;
62 }
63
64 public void setBoth(List<String> both) {
65 this.both = both;
66 }
67
68 public List<MD5Result> getDifferent() {
69 return different;
70 }
71
72 public void setDifferent(List<MD5Result> different) {
73 this.different = different;
74 }
75
76 public List<String> getSourceDirOnly() {
77 return sourceDirOnly;
78 }
79
80 public void setSourceDirOnly(List<String> sourceDirOnly) {
81 this.sourceDirOnly = sourceDirOnly;
82 }
83
84 public List<String> getTargetDirOnly() {
85 return targetDirOnly;
86 }
87
88 public void setTargetDirOnly(List<String> targetDirOnly) {
89 this.targetDirOnly = targetDirOnly;
90 }
91
92 public List<MD5Result> getIdentical() {
93 return identical;
94 }
95
96 public void setIdentical(List<MD5Result> identical) {
97 this.identical = identical;
98 }
99
100 }