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.file; 017 018import java.io.File; 019import java.util.List; 020 021import org.kuali.common.util.FileSystemUtils; 022 023public class DirRequest { 024 025 List<String> includes = FileSystemUtils.DEFAULT_RECURSIVE_INCLUDES; 026 List<String> excludes = FileSystemUtils.DEFAULT_SCM_IGNORE_PATTERNS; 027 028 File sourceDir; 029 File targetDir; 030 File relativeDir; 031 032 public List<String> getIncludes() { 033 return includes; 034 } 035 036 public void setIncludes(List<String> includes) { 037 this.includes = includes; 038 } 039 040 public List<String> getExcludes() { 041 return excludes; 042 } 043 044 public void setExcludes(List<String> excludes) { 045 this.excludes = excludes; 046 } 047 048 public File getSourceDir() { 049 return sourceDir; 050 } 051 052 public void setSourceDir(File sourceDir) { 053 this.sourceDir = sourceDir; 054 } 055 056 public File getTargetDir() { 057 return targetDir; 058 } 059 060 public void setTargetDir(File targetDir) { 061 this.targetDir = targetDir; 062 } 063 064 public File getRelativeDir() { 065 return relativeDir; 066 } 067 068 public void setRelativeDir(File relativeDir) { 069 this.relativeDir = relativeDir; 070 } 071 072}