1 | |
package com.aurea.maven.plugins.sonic.sdm.container.impl; |
2 | |
|
3 | |
import java.util.Properties; |
4 | |
|
5 | |
import com.aurea.maven.plugins.sonic.sdm.container.IIncludePattern; |
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
public class DefaultIncludePattern implements IIncludePattern { |
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
protected Properties includeProperties; |
17 | |
|
18 | |
|
19 | |
|
20 | |
protected String pattern; |
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | 0 | public DefaultIncludePattern() { |
26 | 0 | } |
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | 0 | public DefaultIncludePattern(final String _myPattern) { |
32 | |
|
33 | 0 | this.pattern = _myPattern; |
34 | 0 | } |
35 | |
|
36 | |
|
37 | |
|
38 | |
|
39 | |
public Properties getIncludeProperties() { |
40 | |
|
41 | 0 | if (includeProperties == null) { |
42 | 0 | includeProperties = new Properties(); |
43 | |
} |
44 | 0 | return includeProperties; |
45 | |
} |
46 | |
|
47 | |
|
48 | |
|
49 | |
|
50 | |
public String getPattern() { |
51 | |
|
52 | 0 | return pattern; |
53 | |
} |
54 | |
|
55 | |
@Override |
56 | |
public String toString() { |
57 | 0 | return getPattern(); |
58 | |
} |
59 | |
} |