1 | "use strict";
|
2 | var __importDefault = (this && this.__importDefault) || function (mod) {
|
3 | return (mod && mod.__esModule) ? mod : { "default": mod };
|
4 | };
|
5 | Object.defineProperty(exports, "__esModule", { value: true });
|
6 | const StringBuilder_1 = __importDefault(require("./java/StringBuilder"));
|
7 | class SupportingFile {
|
8 | constructor(templateFile, folder, destinationFilename) {
|
9 | if (arguments.length === 2) {
|
10 | destinationFilename = folder;
|
11 | folder = '';
|
12 | }
|
13 | this.templateFile = templateFile;
|
14 | this.folder = folder;
|
15 | this.destinationFilename = destinationFilename;
|
16 | }
|
17 | toString() {
|
18 | const builder = StringBuilder_1.default('SupportingFile:\n');
|
19 | builder
|
20 | .append('\ttemplateFile: ')
|
21 | .append(this.templateFile)
|
22 | .append('\n');
|
23 | builder
|
24 | .append('\tfolder: ')
|
25 | .append(this.folder)
|
26 | .append('\n');
|
27 | builder
|
28 | .append('\tdestinationFilename: ')
|
29 | .append(this.destinationFilename)
|
30 | .append('\n');
|
31 | return builder.toString();
|
32 | }
|
33 | }
|
34 | exports.default = SupportingFile;
|
35 |
|
\ | No newline at end of file |