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