"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/**
 * Copyright 2017-2018 Plexus Interop Deutsche Bank AG
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the 'License');
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an 'AS IS' BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
var BaseJavaGenCommand_1 = require("./BaseJavaGenCommand");
var DefaultOptions_1 = require("./DefaultOptions");
var GenProtoCommand = /** @class */ (function (_super) {
    tslib_1.__extends(GenProtoCommand, _super);
    function GenProtoCommand() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.plexusGenArgs = function (opts) {
            return ['--type=proto', '--descriptors'].concat(_this.optionArgs(opts));
        };
        _this.generalDescription = function () { return 'generate proto definitions for specified entry point'; };
        _this.name = function () { return 'gen-proto'; };
        _this.options = function () { return [DefaultOptions_1.baseDir(), DefaultOptions_1.out(), DefaultOptions_1.plexusEntryPoint(), DefaultOptions_1.verbose()]; };
        return _this;
    }
    return GenProtoCommand;
}(BaseJavaGenCommand_1.BaseJavaGenCommand));
exports.GenProtoCommand = GenProtoCommand;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR2VuUHJvdG9Db21tYW5kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbW1hbmRzL0dlblByb3RvQ29tbWFuZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTs7Ozs7Ozs7Ozs7Ozs7O0dBZUc7QUFDSCwyREFBMEQ7QUFDMUQsbURBQTJFO0FBRzNFO0lBQXFDLDJDQUFrQjtJQUF2RDtRQUFBLHFFQVlDO1FBVlUsbUJBQWEsR0FBNEIsVUFBQSxJQUFJO1lBQ2hELFFBQVEsY0FBYyxFQUFFLGVBQWUsU0FBSyxLQUFJLENBQUMsVUFBVSxDQUFDLElBQUksQ0FBQyxFQUFFO1FBQ3ZFLENBQUMsQ0FBQTtRQUVNLHdCQUFrQixHQUFHLGNBQU0sT0FBQSxzREFBc0QsRUFBdEQsQ0FBc0QsQ0FBQztRQUVsRixVQUFJLEdBQUcsY0FBTSxPQUFBLFdBQVcsRUFBWCxDQUFXLENBQUM7UUFFekIsYUFBTyxHQUFtQixjQUFNLE9BQUEsQ0FBQyx3QkFBTyxFQUFFLEVBQUUsb0JBQUcsRUFBRSxFQUFFLGlDQUFnQixFQUFFLEVBQUUsd0JBQU8sRUFBRSxDQUFDLEVBQWpELENBQWlELENBQUM7O0lBRTdGLENBQUM7SUFBRCxzQkFBQztBQUFELENBQUMsQUFaRCxDQUFxQyx1Q0FBa0IsR0FZdEQ7QUFaWSwwQ0FBZSJ9