UNPKG

bugyo-cloud-client

Version:
39 lines 919 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BugyoCloudClient = void 0; class BugyoCloudClient { logger; _tenantCode; _session; _userCode; /** * */ constructor(logger, tenantCode, session) { this.logger = logger; this._tenantCode = tenantCode; this._session = session; } get tenantCode() { return this._tenantCode; } get userCode() { return this._userCode; } set userCode(value) { this._userCode = value; } get session() { return this._session; } /** * タスクを実行します。 * @param task タスク */ doA(task) { this.logger.info("Executing a task: %s", task.constructor.name); return task.execute(this); } } exports.BugyoCloudClient = BugyoCloudClient; //# sourceMappingURL=bugyo-cloud-client.js.map