UNPKG

1.2 kBJavaScriptView Raw
1"use strict";
2var __importDefault = (this && this.__importDefault) || function (mod) {
3 return (mod && mod.__esModule) ? mod : { "default": mod };
4};
5Object.defineProperty(exports, "__esModule", { value: true });
6const StringBuilder_1 = __importDefault(require("./java/StringBuilder"));
7class 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}
34exports.default = SupportingFile;
35//# sourceMappingURL=SupportingFile.js.map
\No newline at end of file