@nsshunt/stsrunnerframework 1.0.81 → 1.0.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2074,6 +2074,22 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
2074
2074
  __privateAdd(this, _debug2, (message) => {
2075
2075
  console.log(chalk.cyan(`pid: [${process.pid}] STSWorkerManager::${message}`));
2076
2076
  });
2077
+ __publicField(this, "GetWorkers", () => {
2078
+ const retVal = {};
2079
+ for (const [, workerEx] of Object.entries(__privateGet(this, _workersEx))) {
2080
+ retVal[workerEx.id] = this.CreateWorkerCopy(workerEx);
2081
+ }
2082
+ return retVal;
2083
+ });
2084
+ __publicField(this, "GetArchiveList", () => {
2085
+ return __privateGet(this, _archiveList);
2086
+ });
2087
+ __publicField(this, "GetWorker", (workerId) => {
2088
+ return this.CreateWorkerCopy(__privateGet(this, _workersEx)[workerId]);
2089
+ });
2090
+ __publicField(this, "GetRunner", (workerId, runnerId) => {
2091
+ return this.CreateRunnerCopy(__privateGet(this, _workersEx)[workerId].runnersEx[runnerId]);
2092
+ });
2077
2093
  __publicField(this, "AddWorker", (workerOptions, useWorkerFactory) => {
2078
2094
  let workerFactory;
2079
2095
  if (useWorkerFactory) {
@@ -2606,19 +2622,9 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
2606
2622
  get id() {
2607
2623
  return __privateGet(this, _id);
2608
2624
  }
2609
- get Workers() {
2610
- const retVal = {};
2611
- for (const [, workerEx] of Object.entries(__privateGet(this, _workersEx))) {
2612
- retVal[workerEx.id] = this.CreateWorkerCopy(workerEx);
2613
- }
2614
- return retVal;
2615
- }
2616
2625
  get WorkersEx() {
2617
2626
  return __privateGet(this, _workersEx);
2618
2627
  }
2619
- get archiveList() {
2620
- return __privateGet(this, _archiveList);
2621
- }
2622
2628
  get Options() {
2623
2629
  return __privateGet(this, _options2);
2624
2630
  }