1 | |
package org.apache.maven.shared.filtering; |
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
import java.io.File; |
23 | |
import java.util.List; |
24 | |
import java.util.Properties; |
25 | |
|
26 | |
import org.apache.maven.execution.MavenSession; |
27 | |
import org.apache.maven.project.MavenProject; |
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
public class MavenFileFilterRequest |
34 | |
extends AbstractMavenFilteringRequest |
35 | |
{ |
36 | |
|
37 | |
private File from; |
38 | |
|
39 | |
private File to; |
40 | |
|
41 | |
private boolean filtering; |
42 | |
|
43 | |
public MavenFileFilterRequest() |
44 | 0 | { |
45 | |
|
46 | 0 | } |
47 | |
|
48 | |
public MavenFileFilterRequest( File from, File to, boolean filtering, MavenProject mavenProject, List filters, |
49 | |
boolean escapedBackslashesInFilePath, String encoding, MavenSession mavenSession, |
50 | |
Properties additionalProperties ) |
51 | |
{ |
52 | 0 | super( mavenProject, filters, encoding, mavenSession ); |
53 | 0 | this.from = from; |
54 | 0 | this.to = to; |
55 | 0 | this.filtering = filtering; |
56 | 0 | setAdditionalProperties( additionalProperties ); |
57 | 0 | setEscapeWindowsPaths( escapedBackslashesInFilePath ); |
58 | 0 | } |
59 | |
|
60 | |
|
61 | |
public File getFrom() |
62 | |
{ |
63 | 0 | return from; |
64 | |
} |
65 | |
|
66 | |
public void setFrom( File from ) |
67 | |
{ |
68 | 0 | this.from = from; |
69 | 0 | } |
70 | |
|
71 | |
public File getTo() |
72 | |
{ |
73 | 0 | return to; |
74 | |
} |
75 | |
|
76 | |
public void setTo( File to ) |
77 | |
{ |
78 | 0 | this.to = to; |
79 | 0 | } |
80 | |
|
81 | |
public boolean isFiltering() |
82 | |
{ |
83 | 0 | return filtering; |
84 | |
} |
85 | |
|
86 | |
public void setFiltering( boolean filtering ) |
87 | |
{ |
88 | 0 | this.filtering = filtering; |
89 | 0 | } |
90 | |
|
91 | |
} |