1 | Path createFactoryPath() {↵ | | 1 | Path createAttachments() {↵
|
2 | if (factoryPath == null) {↵ | | 2 | if (attachments == null) {↵
|
3 | factoryPath = new Path(getProject());↵ | | 3 | attachments = new Path(getProject());↵
|
4 | }↵ | | 4 | }↵
|
5 | return factoryPath.createPath();↵ | | 5 | return attachments.createPath();↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * Get the factory path attribute.↵ | | 8 | * ↵
|
9 | * If this is not null, the "-factorypath" argument will be used.↵ | | |
|
10 | * The default value is null.↵ | | 9 | Create a nested heade↵
|
11 | * @return the factory path attribute.↵ | | |
|
12 | */↵ | | |
|
13 | public Path getFactoryPath() {↵ | | |
|
14 | return factoryPath;↵ | | |
|
15 | }↵ | | |
|
|
16 | /**↵ | | |
|
17 | * Create a nested option.↵ | | |
|
18 | * @return an option to be configured.↵ | | |
|
19 | */↵ | | |
|
20 | public Option createOption↵ | | 10 | r element.↵
|
| | | 11 | * @return a Header instance.↵
|
| | | 12 | */↵
|
21 | () {↵ | | 13 | public Header createHeader() {↵
|
22 | Option opt = new Option();↵ | | 14 | Header h = new Header();↵
|
23 | options.add(opt);↵ | | 15 | headers.add(h);↵
|
24 | return opt;↵ | | 16 | return h;↵
|
25 | } | | 17 | }
|