1 | FilterChain createOutputFilterChain() {↵ | | 1 | FilterChain createInputFilterChain() {↵
|
2 | if (isReference()) {↵ | | 2 | if (isReference()) {↵
|
3 | throw noChildrenAllowed();↵ | | 3 | throw noChildrenAllowed();↵
|
4 | }↵ | | 4 | }↵
|
5 | FilterChain result = new FilterChain();↵ | | 5 | FilterChain result = new FilterChain();↵
|
6 | result.setProject(getProject());↵ | | 6 | result.setProject(getProject());↵
|
7 | outputFilterChains.add(result);↵ | | 7 | inputFilterChains.add(result);↵
|
8 | return result;↵ | | 8 | return result;↵
|
9 | }↵ | | 9 | }↵
|
|
10 | /**↵ | | 10 | /**↵
|
11 | * Create a nested error <code>FilterChain</code>.↵ | | 11 | * Create a nested output <code>FilterChain</code>.↵
|
12 | * @return <code>FilterChain</code>.↵ | | 12 | * @return <code>FilterChain</code>.↵
|
13 | */↵ | | 13 | */↵
|
14 | public FilterChain createErrorFilterChain() {↵ | | 14 | public FilterChain createOutputFilterChain() {↵
|
15 | if (isReference()) {↵ | | 15 | if (isReference()) {↵
|
16 | throw noChildrenAllowed();↵ | | 16 | throw noChildrenAllowed();↵
|
17 | }↵ | | 17 | }↵
|
18 | FilterChain result = new FilterChain();↵ | | 18 | FilterChain result = new FilterChain();↵
|
19 | result.setProject(getProject());↵ | | 19 | result.setProject(getProject());↵
|
20 | errorFilterChains.add(result);↵ | | 20 | outputFilterChains.add(result);↵
|
21 | return result;↵ | | 21 | return result;↵
|
22 | | | 22 |
|