1 | NameEntry createExclude() {↵ | | 1 | NameEntry createInclude() {↵
|
2 | if (isReference()) {↵ | | 2 | if (isReference()) {↵
|
3 | throw noChildrenAllowed();↵ | | 3 | throw noChildrenAllowed();↵
|
4 | }↵ | | 4 | }↵
|
5 | return addPatternToList(excludeList);↵ | | 5 | return addPatternToList(includeList);↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * add a name entry on the exclude files list↵ | | 8 | * add a name entry on the include files list↵
|
9 | * @return a nested excludesfile element to be configured.↵ | | 9 | * @return a nested includesfile element to be configured.↵
|
10 | */↵ | | 10 | */↵
|
11 | public NameEntry createExcludesFile() {↵ | | 11 | public NameEntry createIncludesFile() {↵
|
12 | if (isReference()) {↵ | | 12 | if (isReference()) {↵
|
13 | throw noChildrenAllowed();↵ | | 13 | throw noChildrenAllowed();↵
|
14 | }↵ | | 14 | }↵
|
15 | return addPatternToList(excludesFileList);↵ | | 15 | return addPatternToList(includesFileList);↵
|
16 | | | 16 |
|