View Javadoc
1   /*
2    * #%L
3    * EUGene :: EUGene
4    * %%
5    * Copyright (C) 2004 - 2010 CodeLutin
6    * %%
7    * This program is free software: you can redistribute it and/or modify
8    * it under the terms of the GNU Lesser General Public License as 
9    * published by the Free Software Foundation, either version 3 of the 
10   * License, or (at your option) any later version.
11   * 
12   * This program is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   * GNU General Lesser Public License for more details.
16   * 
17   * You should have received a copy of the GNU General Lesser Public 
18   * License along with this program.  If not, see
19   * <http://www.gnu.org/licenses/lgpl-3.0.html>.
20   * #L%
21   */
22  package org.nuiton.eugene.writer;
23  
24  import java.io.File;
25  import java.util.List;
26  import java.util.Map;
27  
28  /**
29   * Contains data to be reacted by a {@link ChainedFileWriter}.
30   *
31   * @author Tony Chemit - chemit@codelutin.com
32   * @since 2.1.3
33   */
34  public class ChainedFileWriterData {
35  
36      File outputDirectory;
37  
38      Map<File, List<File>> filesByRoot;
39  
40      Map<File, List<File>> resourcesByFile;
41  
42  
43      public File getOutputDirectory() {
44          return outputDirectory;
45      }
46  
47      public Map<File, List<File>> getFilesByRoot() {
48          return filesByRoot;
49      }
50  
51      public Map<File, List<File>> getResourcesByFile() {
52          return resourcesByFile;
53      }
54  
55      public void setResourcesByFile(Map<File, List<File>> resourcesByFile) {
56          this.resourcesByFile = resourcesByFile;
57      }
58  
59      public void setOutputDirectory(File outputDirectory) {
60          this.outputDirectory = outputDirectory;
61      }
62  
63      public void setFilesByRoot(Map<File, List<File>> filesByRoot) {
64          this.filesByRoot = filesByRoot;
65      }
66  }