UNPKG

@zowe/cics-for-zowe-explorer-api

Version:
49 lines 1.35 kB
"use strict"; /** * This program and the accompanying materials are made available under the terms of the * Eclipse Public License v2.0 which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-v20.html * * SPDX-License-Identifier: EPL-2.0 * * Copyright Contributors to the Zowe Project. * */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ResourceAction = void 0; class ResourceAction { _id; _name; _resourceType; _action; _visibleWhen; _refreshResourceInspector; constructor({ id, name, resourceType, action, visibleWhen, refreshResourceInspector }) { this._id = id; this._name = name; this._resourceType = resourceType; this._action = action; this._visibleWhen = visibleWhen; this._refreshResourceInspector = refreshResourceInspector ?? true; } get id() { return this._id; } get name() { return this._name; } get resourceType() { return this._resourceType; } get visibleWhen() { return this._visibleWhen; } get action() { return this._action; } get refreshResourceInspector() { return this._refreshResourceInspector; } } exports.ResourceAction = ResourceAction; //# sourceMappingURL=ResourceAction.js.map