View Javadoc
1   /*
2    * copy-rename-maven-plugin
3    *
4    * Copyright (c) 2014 Aneesh Joseph
5    * Copyright 2023 Christian Kohlschütter
6    *
7    * SPDX-Identifier: MIT
8    */
9   package com.kohlschutter.mavenplugins.copyrename;
10  
11  import java.io.File;
12  
13  /**
14   * Specifies source and destination file.
15   */
16  public class FileSet {
17    private File sourceFile;
18    private File destinationFile;
19  
20    /**
21     * Creates a new {@link FileSet} instance.
22     */
23    public FileSet() {
24      super();
25    }
26  
27    /**
28     * Gets the source file.
29     *
30     * @return The source file.
31     */
32    public File getSourceFile() {
33      return sourceFile;
34    }
35  
36    /**
37     * Sets the source file.
38     *
39     * @param sourceFile The source file.
40     */
41    public void setSourceFile(File sourceFile) {
42      this.sourceFile = sourceFile;
43    }
44  
45    /**
46     * Gets the destination file.
47     *
48     * @return The destination file.
49     */
50    public File getDestinationFile() {
51      return destinationFile;
52    }
53  
54    /**
55     * Sets the destination file.
56     *
57     * @param destinationFile The destination file.
58     */
59    public void setDestinationFile(File destinationFile) {
60      this.destinationFile = destinationFile;
61    }
62  }