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.file;
17  
18  import java.io.File;
19  import java.util.List;
20  
21  import org.kuali.common.util.FileSystemUtils;
22  
23  public class DirRequest {
24  
25  	List<String> includes = FileSystemUtils.DEFAULT_RECURSIVE_INCLUDES;
26  	List<String> excludes = FileSystemUtils.DEFAULT_SCM_IGNORE_PATTERNS;
27  
28  	File sourceDir;
29  	File targetDir;
30  	File relativeDir;
31  
32  	public List<String> getIncludes() {
33  		return includes;
34  	}
35  
36  	public void setIncludes(List<String> includes) {
37  		this.includes = includes;
38  	}
39  
40  	public List<String> getExcludes() {
41  		return excludes;
42  	}
43  
44  	public void setExcludes(List<String> excludes) {
45  		this.excludes = excludes;
46  	}
47  
48  	public File getSourceDir() {
49  		return sourceDir;
50  	}
51  
52  	public void setSourceDir(File sourceDir) {
53  		this.sourceDir = sourceDir;
54  	}
55  
56  	public File getTargetDir() {
57  		return targetDir;
58  	}
59  
60  	public void setTargetDir(File targetDir) {
61  		this.targetDir = targetDir;
62  	}
63  
64  	public File getRelativeDir() {
65  		return relativeDir;
66  	}
67  
68  	public void setRelativeDir(File relativeDir) {
69  		this.relativeDir = relativeDir;
70  	}
71  
72  }