All files / output zcl_abapgit_exit.clas.mjs

10.94% Statements 87/795
70.58% Branches 12/17
17.5% Functions 7/40
10.94% Lines 87/795

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 7951x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x     1x 30x 30x 30x 29x 29x 29x 1x 30x     30x                         1x 1x 1x 30x 1x     1x 2x 2x 2x 2x 2x                               2x 1x                                       1x                                                                                                                                 1x                           1x                           1x                                 1x                             1x                             1x                             1x                           1x 1x 1x 1x 1x 1x                   1x 1x                           1x                                                                                                           1x                                 1x                                             1x                                                                     1x                                           1x                             1x                                         1x                                   1x                                 1x                                   1x                                     1x                                                                                                                                                           1x                                                                 1x                                                       1x                             1x                                                                                                                       1x                                 1x 1x 1x 1x 1x
const {cx_root} = await import("./cx_root.clas.mjs");
// zcl_abapgit_exit.clas.abap
class zcl_abapgit_exit {
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'ZCL_ABAPGIT_EXIT';
  static IMPLEMENTED_INTERFACES = ["ZIF_ABAPGIT_EXIT"];
  static ATTRIBUTES = {"GI_GLOBAL_EXIT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_EXIT", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_EXIT"});}, "visibility": "I", "is_constant": " ", "is_class": "X"},
  "GI_EXIT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_EXIT", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_EXIT"});}, "visibility": "I", "is_constant": " ", "is_class": "X"}};
  static METHODS = {"IS_RUNNING_IN_TEST_CONTEXT": {"visibility": "I", "parameters": {"RV_RUNNING_IN_TEST_CONTEXT": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}},
  "GET_INSTANCE": {"visibility": "U", "parameters": {"RI_EXIT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_EXIT", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_EXIT"});}, "is_optional": " "}}}};
  #gi_global_exit;
  #gi_exit;
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
    };
    this.gi_global_exit = zcl_abapgit_exit.gi_global_exit;
    this.gi_exit = zcl_abapgit_exit.gi_exit;
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async get_instance() {
    return zcl_abapgit_exit.get_instance();
  }
  static async get_instance() {
    let ri_exit = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_EXIT", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_EXIT"});
    let lv_class_name = new abap.types.String({qualifiedName: "STRING"});
    if (abap.compare.initial(zcl_abapgit_exit.gi_global_exit) === false) {
      ri_exit.set(zcl_abapgit_exit.gi_global_exit);
      return ri_exit;
    }
    lv_class_name.set(abap.CharacterFactory.get(21, 'ZCL_ABAPGIT_USER_EXIT'));
    if (abap.compare.eq((await (await abap.Classes['ZCL_ABAPGIT_FACTORY'].get_environment()).get().zif_abapgit_environment$is_merged()), abap.builtin.abap_true)) {
      lv_class_name.set(new abap.types.String().set(`\\PROGRAM=${abap.templateFormatting(abap.builtin.sy.get().repid)}\\CLASS=${abap.templateFormatting(lv_class_name)}`));
    }
    if (abap.compare.eq((await this.is_running_in_test_context()), abap.builtin.abap_false)) {
      try {
        let unique113 = abap.Classes["CLAS-ZCL_ABAPGIT_EXIT-"+lv_class_name.get().trimEnd()];
        if (unique113 === undefined) { unique113 = abap.Classes[lv_class_name.get().trimEnd()]; }
        if (unique113 === undefined) { throw new abap.Classes['CX_SY_CREATE_OBJECT_ERROR']; }
        zcl_abapgit_exit.gi_exit.set(await (new unique113()).constructor_());
      } catch (e) {
        if ((abap.Classes['CX_SY_CREATE_OBJECT_ERROR'] && e instanceof abap.Classes['CX_SY_CREATE_OBJECT_ERROR'])) {
        } else {
          throw e;
        }
      }
    }
    zcl_abapgit_exit.gi_global_exit.set(await (new abap.Classes['ZCL_ABAPGIT_EXIT']()).constructor_());
    ri_exit.set(zcl_abapgit_exit.gi_global_exit);
    return ri_exit;
  }
  async is_running_in_test_context() {
    return zcl_abapgit_exit.is_running_in_test_context();
  }
  static async is_running_in_test_context() {
    let rv_running_in_test_context = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    if (abap.compare.eq(abap.builtin.sy.get().sysid, abap.CharacterFactory.get(3, 'ABC'))) {
      rv_running_in_test_context.set(abap.builtin.abap_true);
      return rv_running_in_test_context;
    }
    try {
      await abap.Classes['CL_ABAP_TYPEDESCR'].describe_by_name({p_name: new abap.types.String().set(`\\PROGRAM=${abap.templateFormatting(abap.builtin.sy.get().repid)}\\CLASS=LTCL_TEST`)});
      abap.builtin.sy.get().subrc.set(0);
    } catch (e) {
      if (e.classic) {
          switch (e.classic.toUpperCase()) {
          case "TYPE_NOT_FOUND": abap.builtin.sy.get().subrc.set(1); break;
          default: abap.builtin.sy.get().subrc.set(2); break;
            }
        } else {
            throw e;
        }
      }
      rv_running_in_test_context.set(abap.builtin.boolc(abap.compare.eq(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0))));
      return rv_running_in_test_context;
    }
    async zif_abapgit_exit$adjust_display_commit_url(INPUT) {
      let iv_repo_url = INPUT?.iv_repo_url;
      let iv_repo_name = INPUT?.iv_repo_name;
      let iv_repo_key = INPUT?.iv_repo_key;
      let iv_commit_hash = INPUT?.iv_commit_hash;
      if (iv_commit_hash?.getQualifiedName === undefined || iv_commit_hash.getQualifiedName() !== "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_SHA1") { iv_commit_hash = undefined; }
      if (iv_commit_hash === undefined) { iv_commit_hash = new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}).set(INPUT.iv_commit_hash); }
      let cv_display_url = new abap.types.Character();
      if (INPUT && INPUT.cv_display_url) {cv_display_url = INPUT.cv_display_url;}
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$adjust_display_commit_url({iv_repo_url: iv_repo_url, iv_repo_name: iv_repo_name, iv_repo_key: iv_repo_key, iv_commit_hash: iv_commit_hash, cv_display_url: cv_display_url});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$adjust_display_filename(INPUT) {
      let rv_filename = new abap.types.String({qualifiedName: "STRING"});
      let is_repo_meta = INPUT?.is_repo_meta;
      if (is_repo_meta?.getQualifiedName === undefined || is_repo_meta.getQualifiedName() !== "ZIF_ABAPGIT_PERSISTENCE=>TY_REPO") { is_repo_meta = undefined; }
      if (is_repo_meta === undefined) { is_repo_meta = new abap.types.Structure({
      "key": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}),
      "url": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_REPO_XML-URL"}),
      "branch_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_REPO_XML-BRANCH_NAME"}),
      "selected_commit": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
      "package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
      "created_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
      "created_at": new abap.types.Packed({length: 21, decimals: 7, qualifiedName: "TIMESTAMPL"}),
      "deserialized_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
      "deserialized_at": new abap.types.Packed({length: 21, decimals: 7, qualifiedName: "TIMESTAMPL"}),
      "offline": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "switched_origin": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_REPO_XML-SWITCHED_ORIGIN"}),
      "dot_abapgit": new abap.types.Structure({
      "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-NAME"}),
      "master_language": new abap.types.Character(1, {"qualifiedName":"SPRAS","ddicName":"SPRAS","description":"SPRAS"}),
      "i18n_languages": abap.types.TableFactory.construct(new abap.types.Character(2, {"qualifiedName":"LAISO","ddicName":"LAISO","description":"LAISO"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_languages"),
      "use_lxe": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "without_translation": abap.types.TableFactory.construct(new abap.types.String({qualifiedName: "STRING"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_dot_abapgit=>ty_dot_abapgit-without_translation"),
      "starting_folder": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-STARTING_FOLDER"}),
      "folder_logic": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-FOLDER_LOGIC"}),
      "ignore": abap.types.TableFactory.construct(new abap.types.String({qualifiedName: "STRING"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_dot_abapgit=>ty_dot_abapgit-ignore"),
      "requirements": abap.types.TableFactory.construct(new abap.types.Structure({
      "component": new abap.types.Character(30, {"description":"DLVUNIT"}),
      "min_release": new abap.types.Character(10, {"qualifiedName":"SAPRELEASE","ddicName":"SAPRELEASE","description":"SAPRELEASE"}),
      "min_patch": new abap.types.Character(10, {"qualifiedName":"SAPPATCHLV","ddicName":"SAPPATCHLV","description":"SAPPATCHLV"})}, "zif_abapgit_dot_abapgit=>ty_requirement", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_dot_abapgit=>ty_requirement_tt"),
      "version_constant": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-VERSION_CONSTANT"}),
      "abap_language_version": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-ABAP_LANGUAGE_VERSION"}),
      "original_system": new abap.types.Character(5, {})}, "zif_abapgit_dot_abapgit=>ty_dot_abapgit", undefined, {}, {}),
      "head_branch": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_REPO_XML-HEAD_BRANCH"}),
      "local_settings": new abap.types.Structure({
      "display_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_LOCAL_SETTINGS-DISPLAY_NAME"}),
      "ignore_subpackages": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "write_protected": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "only_local_objects": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "code_inspector_check_variant": new abap.types.Character(30, {"qualifiedName":"SCI_CHKV","ddicName":"SCI_CHKV","description":"SCI_CHKV"}),
      "block_commit": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "main_language_only": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "suppress_lxe_po_comments": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "labels": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_LOCAL_SETTINGS-LABELS"}),
      "transport_request": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
      "customizing_request": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
      "flow": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "exclude_remote_paths": abap.types.TableFactory.construct(new abap.types.String({qualifiedName: "STRING"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "STRING_TABLE")}, "zif_abapgit_persistence=>ty_local_settings", undefined, {}, {})}, "zif_abapgit_persistence=>ty_repo", undefined, {}, {}).set(INPUT.is_repo_meta); }
      let iv_filename = INPUT?.iv_filename;
      if (iv_filename?.getQualifiedName === undefined || iv_filename.getQualifiedName() !== "STRING") { iv_filename = undefined; }
      if (iv_filename === undefined) { iv_filename = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_filename); }
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          rv_filename.set((await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$adjust_display_filename({is_repo_meta: is_repo_meta, iv_filename: iv_filename})));
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
      if (abap.compare.initial(rv_filename)) {
        rv_filename.set(iv_filename);
      }
      return rv_filename;
    }
    async zif_abapgit_exit$allow_sap_objects() {
      let rv_allowed = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          rv_allowed.set((await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$allow_sap_objects()));
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
      return rv_allowed;
    }
    async zif_abapgit_exit$change_local_host(INPUT) {
      let ct_hosts = abap.types.TableFactory.construct(new abap.types.String({qualifiedName: "STRING"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_string_tt");
      if (INPUT && INPUT.ct_hosts) {ct_hosts = INPUT.ct_hosts;}
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$change_local_host({ct_hosts: ct_hosts});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$change_max_parallel_processes(INPUT) {
      let iv_package = INPUT?.iv_package;
      if (iv_package?.getQualifiedName === undefined || iv_package.getQualifiedName() !== "DEVCLASS") { iv_package = undefined; }
      if (iv_package === undefined) { iv_package = new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}).set(INPUT.iv_package); }
      let cv_max_processes = new abap.types.Integer({qualifiedName: "I"});
      if (INPUT && INPUT.cv_max_processes) {cv_max_processes = INPUT.cv_max_processes;}
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$change_max_parallel_processes({iv_package: iv_package, cv_max_processes: cv_max_processes});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$change_proxy_authentication(INPUT) {
      let iv_repo_url = INPUT?.iv_repo_url;
      let cv_proxy_authentication = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
      if (INPUT && INPUT.cv_proxy_authentication) {cv_proxy_authentication = INPUT.cv_proxy_authentication;}
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$change_proxy_authentication({iv_repo_url: iv_repo_url, cv_proxy_authentication: cv_proxy_authentication});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$change_proxy_port(INPUT) {
      let iv_repo_url = INPUT?.iv_repo_url;
      let cv_proxy_port = new abap.types.String({qualifiedName: "STRING"});
      if (INPUT && INPUT.cv_proxy_port) {cv_proxy_port = INPUT.cv_proxy_port;}
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$change_proxy_port({iv_repo_url: iv_repo_url, cv_proxy_port: cv_proxy_port});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$change_proxy_url(INPUT) {
      let iv_repo_url = INPUT?.iv_repo_url;
      let cv_proxy_url = new abap.types.String({qualifiedName: "STRING"});
      if (INPUT && INPUT.cv_proxy_url) {cv_proxy_url = INPUT.cv_proxy_url;}
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$change_proxy_url({iv_repo_url: iv_repo_url, cv_proxy_url: cv_proxy_url});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$change_rfc_server_group(INPUT) {
      let cv_group = new abap.types.Character(20, {"qualifiedName":"RZLLI_APCL","ddicName":"RZLLI_APCL","description":"RZLLI_APCL"});
      if (INPUT && INPUT.cv_group) {cv_group = INPUT.cv_group;}
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$change_rfc_server_group({cv_group: cv_group});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$change_supported_data_objects(INPUT) {
      let ct_objects = abap.types.TableFactory.construct(new abap.types.Structure({
      "type": new abap.types.Character(4, {"qualifiedName":"zif_abapgit_data_config=>ty_data_type"}),
      "name": new abap.types.Character(40, {})}, "zif_abapgit_data_supporter=>ty_object", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"SORTED","isUnique":true,"keyFields":["TYPE","NAME"]},"secondary":[]}, "zif_abapgit_data_supporter=>ty_objects");
      if (INPUT && INPUT.ct_objects) {ct_objects = INPUT.ct_objects;}
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$change_supported_data_objects({ct_objects: ct_objects});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$change_supported_object_types(INPUT) {
      let ct_types = abap.types.TableFactory.construct(new abap.types.Character(4, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["TABLE_LINE"]},"secondary":[]}, "zif_abapgit_exit=>ty_object_types");
      if (INPUT && INPUT.ct_types) {ct_types = INPUT.ct_types;}
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$change_supported_object_types({ct_types: ct_types});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$change_tadir(INPUT) {
      let iv_package = INPUT?.iv_package;
      if (iv_package?.getQualifiedName === undefined || iv_package.getQualifiedName() !== "DEVCLASS") { iv_package = undefined; }
      if (iv_package === undefined) { iv_package = new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}).set(INPUT.iv_package); }
      let ii_log = INPUT?.ii_log;
      if (ii_log?.getQualifiedName === undefined || ii_log.getQualifiedName() !== "ZIF_ABAPGIT_LOG") { ii_log = undefined; }
      if (ii_log === undefined) { ii_log = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_LOG", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_LOG"}).set(INPUT.ii_log); }
      let is_dot_abapgit = INPUT?.is_dot_abapgit;
      if (is_dot_abapgit?.getQualifiedName === undefined || is_dot_abapgit.getQualifiedName() !== "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT") { is_dot_abapgit = undefined; }
      if (is_dot_abapgit === undefined) { is_dot_abapgit = new abap.types.Structure({
      "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-NAME"}),
      "master_language": new abap.types.Character(1, {"qualifiedName":"SPRAS","ddicName":"SPRAS","description":"SPRAS"}),
      "i18n_languages": abap.types.TableFactory.construct(new abap.types.Character(2, {"qualifiedName":"LAISO","ddicName":"LAISO","description":"LAISO"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_languages"),
      "use_lxe": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "without_translation": abap.types.TableFactory.construct(new abap.types.String({qualifiedName: "STRING"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_dot_abapgit=>ty_dot_abapgit-without_translation"),
      "starting_folder": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-STARTING_FOLDER"}),
      "folder_logic": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-FOLDER_LOGIC"}),
      "ignore": abap.types.TableFactory.construct(new abap.types.String({qualifiedName: "STRING"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_dot_abapgit=>ty_dot_abapgit-ignore"),
      "requirements": abap.types.TableFactory.construct(new abap.types.Structure({
      "component": new abap.types.Character(30, {"description":"DLVUNIT"}),
      "min_release": new abap.types.Character(10, {"qualifiedName":"SAPRELEASE","ddicName":"SAPRELEASE","description":"SAPRELEASE"}),
      "min_patch": new abap.types.Character(10, {"qualifiedName":"SAPPATCHLV","ddicName":"SAPPATCHLV","description":"SAPPATCHLV"})}, "zif_abapgit_dot_abapgit=>ty_requirement", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_dot_abapgit=>ty_requirement_tt"),
      "version_constant": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-VERSION_CONSTANT"}),
      "abap_language_version": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-ABAP_LANGUAGE_VERSION"}),
      "original_system": new abap.types.Character(5, {})}, "zif_abapgit_dot_abapgit=>ty_dot_abapgit", undefined, {}, {}).set(INPUT.is_dot_abapgit); }
      let iv_ignore_subpackages = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
      if (INPUT && INPUT.iv_ignore_subpackages) {iv_ignore_subpackages.set(INPUT.iv_ignore_subpackages);}
      if (INPUT === undefined || INPUT.iv_ignore_subpackages === undefined) {iv_ignore_subpackages = abap.builtin.abap_false;}
      let iv_only_local_objects = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
      if (INPUT && INPUT.iv_only_local_objects) {iv_only_local_objects.set(INPUT.iv_only_local_objects);}
      if (INPUT === undefined || INPUT.iv_only_local_objects === undefined) {iv_only_local_objects = abap.builtin.abap_false;}
      let ct_tadir = abap.types.TableFactory.construct(new abap.types.Structure({
      "pgmid": new abap.types.Character(4, {}),
      "object": new abap.types.Character(4, {}),
      "obj_name": new abap.types.Character(40, {}),
      "devclass": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
      "korrnum": new abap.types.Character(10, {}),
      "delflag": new abap.types.Character(1, {}),
      "genflag": new abap.types.Character(1, {}),
      "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_TADIR-PATH"}),
      "srcsystem": new abap.types.Character(5, {}),
      "masterlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_tadir", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_tadir_tt");
      if (INPUT && INPUT.ct_tadir) {ct_tadir = INPUT.ct_tadir;}
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$change_tadir({iv_package: iv_package, ii_log: ii_log, is_dot_abapgit: is_dot_abapgit, iv_ignore_subpackages: iv_ignore_subpackages, iv_only_local_objects: iv_only_local_objects, ct_tadir: ct_tadir});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$create_http_client(INPUT) {
      let ri_client = new abap.types.ABAPObject({qualifiedName: "IF_HTTP_CLIENT", RTTIName: "\\INTERFACE=IF_HTTP_CLIENT"});
      let iv_url = INPUT?.iv_url;
      if (iv_url?.getQualifiedName === undefined || iv_url.getQualifiedName() !== "STRING") { iv_url = undefined; }
      if (iv_url === undefined) { iv_url = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_url); }
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          ri_client.set((await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$create_http_client({iv_url: iv_url})));
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
      return ri_client;
    }
    async zif_abapgit_exit$custom_serialize_abap_clif(INPUT) {
      let rt_source = abap.types.TableFactory.construct(new abap.types.String({qualifiedName: "STRING"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_string_tt");
      let is_class_key = INPUT?.is_class_key;
      if (is_class_key?.getQualifiedName === undefined || is_class_key.getQualifiedName() !== "ZIF_ABAPGIT_EXIT=>TY_CLASS_KEY") { is_class_key = undefined; }
      if (is_class_key === undefined) { is_class_key = new abap.types.Structure({
      "clsname": new abap.types.Character(30, {"qualifiedName":"abap_classname"})}, "zif_abapgit_exit=>ty_class_key", undefined, {}, {}).set(INPUT.is_class_key); }
      let it_source = abap.types.TableFactory.construct(new abap.types.String({qualifiedName: "STRING"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_string_tt");
      if (INPUT && INPUT.it_source) {it_source.set(INPUT.it_source);}
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          rt_source.set((await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$custom_serialize_abap_clif({is_class_key: is_class_key, it_source: it_source})));
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
      if (abap.compare.initial(rt_source)) {
        rt_source.set(it_source);
      }
      return rt_source;
    }
    async zif_abapgit_exit$deserialize_postprocess(INPUT) {
      let is_step = INPUT?.is_step;
      if (is_step?.getQualifiedName === undefined || is_step.getQualifiedName() !== "ZIF_ABAPGIT_OBJECTS=>TY_STEP_DATA") { is_step = undefined; }
      if (is_step === undefined) { is_step = new abap.types.Structure({
      "step_id": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_OBJECTS=>TY_DESERIALIZATION_STEP"}),
      "order": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_OBJECTS=>TY_STEP_DATA-ORDER"}),
      "descr": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_OBJECTS=>TY_STEP_DATA-DESCR"}),
      "syntax_check": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "objects": abap.types.TableFactory.construct(new abap.types.Structure({
      "obj": new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_OBJECT", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_OBJECT"}),
      "xml": new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_XML_INPUT", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_XML_INPUT"}),
      "package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
      "item": new abap.types.Structure({
      "obj_type": new abap.types.Character(4, {}),
      "obj_name": new abap.types.Character(40, {}),
      "devclass": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
      "srcsystem": new abap.types.Character(5, {}),
      "origlang": new abap.types.Character(1, {}),
      "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "abap_language_version": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_aff_types_v1=>ty_abap_language_version"})}, "zif_abapgit_definitions=>ty_item", undefined, {}, {}),
      "files": new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_OBJECTS_FILES", RTTIName: "\\CLASS=ZCL_ABAPGIT_OBJECTS_FILES"})}, "zif_abapgit_objects=>ty_deserialization", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_objects=>ty_deserialization_tt")}, "zif_abapgit_objects=>ty_step_data", undefined, {}, {}).set(INPUT.is_step); }
      let ii_log = INPUT?.ii_log;
      if (ii_log?.getQualifiedName === undefined || ii_log.getQualifiedName() !== "ZIF_ABAPGIT_LOG") { ii_log = undefined; }
      if (ii_log === undefined) { ii_log = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_LOG", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_LOG"}).set(INPUT.ii_log); }
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$deserialize_postprocess({is_step: is_step, ii_log: ii_log});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$determine_transport_request(INPUT) {
      let ii_repo = INPUT?.ii_repo;
      if (ii_repo?.getQualifiedName === undefined || ii_repo.getQualifiedName() !== "ZIF_ABAPGIT_REPO") { ii_repo = undefined; }
      if (ii_repo === undefined) { ii_repo = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_REPO", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_REPO"}).set(INPUT.ii_repo); }
      let iv_transport_type = INPUT?.iv_transport_type;
      if (iv_transport_type?.getQualifiedName === undefined || iv_transport_type.getQualifiedName() !== "ZIF_ABAPGIT_DEFINITIONS=>TY_TRANSPORT_TYPE") { iv_transport_type = undefined; }
      if (iv_transport_type === undefined) { iv_transport_type = new abap.types.Structure({
      "request": new abap.types.Character(1, {"qualifiedName":"TRFUNCTION","ddicName":"TRFUNCTION","description":"TRFUNCTION"}),
      "task": new abap.types.Character(1, {"qualifiedName":"TRFUNCTION","ddicName":"TRFUNCTION","description":"TRFUNCTION"})}, "zif_abapgit_definitions=>ty_transport_type", undefined, {}, {}).set(INPUT.iv_transport_type); }
      let cv_transport_request = new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"});
      if (INPUT && INPUT.cv_transport_request) {cv_transport_request = INPUT.cv_transport_request;}
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$determine_transport_request({ii_repo: ii_repo, iv_transport_type: iv_transport_type, cv_transport_request: cv_transport_request});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$enhance_any_toolbar(INPUT) {
      let io_menu = INPUT?.io_menu;
      if (io_menu?.getQualifiedName === undefined || io_menu.getQualifiedName() !== "ZCL_ABAPGIT_HTML_TOOLBAR") { io_menu = undefined; }
      if (io_menu === undefined) { io_menu = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TOOLBAR", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TOOLBAR"}).set(INPUT.io_menu); }
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$enhance_any_toolbar({io_menu: io_menu});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$enhance_repo_toolbar(INPUT) {
      let io_menu = INPUT?.io_menu;
      if (io_menu?.getQualifiedName === undefined || io_menu.getQualifiedName() !== "ZCL_ABAPGIT_HTML_TOOLBAR") { io_menu = undefined; }
      if (io_menu === undefined) { io_menu = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TOOLBAR", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TOOLBAR"}).set(INPUT.io_menu); }
      let iv_key = INPUT?.iv_key;
      if (iv_key?.getQualifiedName === undefined || iv_key.getQualifiedName() !== "ZIF_ABAPGIT_PERSISTENCE=>TY_VALUE") { iv_key = undefined; }
      if (iv_key === undefined) { iv_key = new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}).set(INPUT.iv_key); }
      let iv_act = INPUT?.iv_act;
      if (iv_act?.getQualifiedName === undefined || iv_act.getQualifiedName() !== "STRING") { iv_act = undefined; }
      if (iv_act === undefined) { iv_act = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_act); }
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$enhance_repo_toolbar({io_menu: io_menu, iv_key: iv_key, iv_act: iv_act});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$get_ci_tests(INPUT) {
      let iv_object = INPUT?.iv_object;
      if (iv_object === undefined) { iv_object = new abap.types.Character(4, {}).set(INPUT.iv_object); }
      let ct_ci_repos = abap.types.TableFactory.construct(new abap.types.Structure({
      "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_EXIT=>TY_CI_REPO-NAME"}),
      "clone_url": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_EXIT=>TY_CI_REPO-CLONE_URL"})}, "zif_abapgit_exit=>ty_ci_repo", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_exit=>ty_ci_repos");
      if (INPUT && INPUT.ct_ci_repos) {ct_ci_repos = INPUT.ct_ci_repos;}
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$get_ci_tests({iv_object: iv_object, ct_ci_repos: ct_ci_repos});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$get_ssl_id() {
      let rv_ssl_id = new abap.types.Character(6, {"qualifiedName":"SSFAPPLSSL","ddicName":"SSFAPPLSSL","description":"SSL ID"});
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          rv_ssl_id.set((await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$get_ssl_id()));
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
      if (abap.compare.initial(rv_ssl_id)) {
        rv_ssl_id.set(abap.CharacterFactory.get(6, 'ANONYM'));
      }
      return rv_ssl_id;
    }
    async zif_abapgit_exit$http_client(INPUT) {
      let iv_url = INPUT?.iv_url;
      if (iv_url?.getQualifiedName === undefined || iv_url.getQualifiedName() !== "STRING") { iv_url = undefined; }
      if (iv_url === undefined) { iv_url = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_url); }
      let ii_client = INPUT?.ii_client;
      if (ii_client?.getQualifiedName === undefined || ii_client.getQualifiedName() !== "IF_HTTP_CLIENT") { ii_client = undefined; }
      if (ii_client === undefined) { ii_client = new abap.types.ABAPObject({qualifiedName: "IF_HTTP_CLIENT", RTTIName: "\\INTERFACE=IF_HTTP_CLIENT"}).set(INPUT.ii_client); }
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$http_client({iv_url: iv_url, ii_client: ii_client});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$on_event(INPUT) {
      let rs_handled = new abap.types.Structure({
      "page": new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_GUI_RENDERABLE", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_GUI_RENDERABLE"}),
      "state": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_GUI_EVENT_HANDLER=>TY_HANDLING_RESULT-STATE"})}, "zif_abapgit_gui_event_handler=>ty_handling_result", undefined, {}, {});
      let ii_event = INPUT?.ii_event;
      if (ii_event?.getQualifiedName === undefined || ii_event.getQualifiedName() !== "ZIF_ABAPGIT_GUI_EVENT") { ii_event = undefined; }
      if (ii_event === undefined) { ii_event = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_GUI_EVENT", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_GUI_EVENT"}).set(INPUT.ii_event); }
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          rs_handled.set((await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$on_event({ii_event: ii_event})));
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
      return rs_handled;
    }
    async zif_abapgit_exit$pre_calculate_repo_status(INPUT) {
      let is_repo_meta = INPUT?.is_repo_meta;
      if (is_repo_meta?.getQualifiedName === undefined || is_repo_meta.getQualifiedName() !== "ZIF_ABAPGIT_PERSISTENCE=>TY_REPO") { is_repo_meta = undefined; }
      if (is_repo_meta === undefined) { is_repo_meta = new abap.types.Structure({
      "key": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}),
      "url": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_REPO_XML-URL"}),
      "branch_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_REPO_XML-BRANCH_NAME"}),
      "selected_commit": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
      "package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
      "created_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
      "created_at": new abap.types.Packed({length: 21, decimals: 7, qualifiedName: "TIMESTAMPL"}),
      "deserialized_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
      "deserialized_at": new abap.types.Packed({length: 21, decimals: 7, qualifiedName: "TIMESTAMPL"}),
      "offline": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "switched_origin": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_REPO_XML-SWITCHED_ORIGIN"}),
      "dot_abapgit": new abap.types.Structure({
      "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-NAME"}),
      "master_language": new abap.types.Character(1, {"qualifiedName":"SPRAS","ddicName":"SPRAS","description":"SPRAS"}),
      "i18n_languages": abap.types.TableFactory.construct(new abap.types.Character(2, {"qualifiedName":"LAISO","ddicName":"LAISO","description":"LAISO"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_languages"),
      "use_lxe": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "without_translation": abap.types.TableFactory.construct(new abap.types.String({qualifiedName: "STRING"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_dot_abapgit=>ty_dot_abapgit-without_translation"),
      "starting_folder": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-STARTING_FOLDER"}),
      "folder_logic": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-FOLDER_LOGIC"}),
      "ignore": abap.types.TableFactory.construct(new abap.types.String({qualifiedName: "STRING"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_dot_abapgit=>ty_dot_abapgit-ignore"),
      "requirements": abap.types.TableFactory.construct(new abap.types.Structure({
      "component": new abap.types.Character(30, {"description":"DLVUNIT"}),
      "min_release": new abap.types.Character(10, {"qualifiedName":"SAPRELEASE","ddicName":"SAPRELEASE","description":"SAPRELEASE"}),
      "min_patch": new abap.types.Character(10, {"qualifiedName":"SAPPATCHLV","ddicName":"SAPPATCHLV","description":"SAPPATCHLV"})}, "zif_abapgit_dot_abapgit=>ty_requirement", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_dot_abapgit=>ty_requirement_tt"),
      "version_constant": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-VERSION_CONSTANT"}),
      "abap_language_version": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-ABAP_LANGUAGE_VERSION"}),
      "original_system": new abap.types.Character(5, {})}, "zif_abapgit_dot_abapgit=>ty_dot_abapgit", undefined, {}, {}),
      "head_branch": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_REPO_XML-HEAD_BRANCH"}),
      "local_settings": new abap.types.Structure({
      "display_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_LOCAL_SETTINGS-DISPLAY_NAME"}),
      "ignore_subpackages": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "write_protected": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "only_local_objects": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "code_inspector_check_variant": new abap.types.Character(30, {"qualifiedName":"SCI_CHKV","ddicName":"SCI_CHKV","description":"SCI_CHKV"}),
      "block_commit": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "main_language_only": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "suppress_lxe_po_comments": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "labels": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_LOCAL_SETTINGS-LABELS"}),
      "transport_request": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
      "customizing_request": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
      "flow": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "exclude_remote_paths": abap.types.TableFactory.construct(new abap.types.String({qualifiedName: "STRING"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "STRING_TABLE")}, "zif_abapgit_persistence=>ty_local_settings", undefined, {}, {})}, "zif_abapgit_persistence=>ty_repo", undefined, {}, {}).set(INPUT.is_repo_meta); }
      let ct_local = abap.types.TableFactory.construct(new abap.types.Structure({
      "file": new abap.types.Structure({
      "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_FILE_SIGNATURE-PATH"}),
      "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_FILE_SIGNATURE-FILENAME"}),
      "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
      "data": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_FILE-DATA"})}, "zif_abapgit_git_definitions=>ty_file", undefined, {}, {}),
      "item": new abap.types.Structure({
      "obj_type": new abap.types.Character(4, {}),
      "obj_name": new abap.types.Character(40, {}),
      "devclass": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
      "srcsystem": new abap.types.Character(5, {}),
      "origlang": new abap.types.Character(1, {}),
      "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "abap_language_version": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_aff_types_v1=>ty_abap_language_version"})}, "zif_abapgit_definitions=>ty_item", undefined, {}, {})}, "zif_abapgit_definitions=>ty_file_item", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_files_item_tt");
      if (INPUT && INPUT.ct_local) {ct_local = INPUT.ct_local;}
      let ct_remote = abap.types.TableFactory.construct(new abap.types.Structure({
      "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_FILE_SIGNATURE-PATH"}),
      "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_FILE_SIGNATURE-FILENAME"}),
      "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
      "data": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_FILE-DATA"})}, "zif_abapgit_git_definitions=>ty_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[{"name":"file_path","type":"SORTED","isUnique":true,"keyFields":["PATH","FILENAME"]},{"name":"file","type":"SORTED","isUnique":false,"keyFields":["FILENAME"]}]}, "zif_abapgit_git_definitions=>ty_files_tt");
      if (INPUT && INPUT.ct_remote) {ct_remote = INPUT.ct_remote;}
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$pre_calculate_repo_status({is_repo_meta: is_repo_meta, ct_local: ct_local, ct_remote: ct_remote});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$serialize_postprocess(INPUT) {
      let iv_package = INPUT?.iv_package;
      if (iv_package?.getQualifiedName === undefined || iv_package.getQualifiedName() !== "DEVCLASS") { iv_package = undefined; }
      if (iv_package === undefined) { iv_package = new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}).set(INPUT.iv_package); }
      let ii_log = INPUT?.ii_log;
      if (ii_log?.getQualifiedName === undefined || ii_log.getQualifiedName() !== "ZIF_ABAPGIT_LOG") { ii_log = undefined; }
      if (ii_log === undefined) { ii_log = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_LOG", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_LOG"}).set(INPUT.ii_log); }
      let ct_files = abap.types.TableFactory.construct(new abap.types.Structure({
      "file": new abap.types.Structure({
      "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_FILE_SIGNATURE-PATH"}),
      "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_FILE_SIGNATURE-FILENAME"}),
      "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
      "data": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_FILE-DATA"})}, "zif_abapgit_git_definitions=>ty_file", undefined, {}, {}),
      "item": new abap.types.Structure({
      "obj_type": new abap.types.Character(4, {}),
      "obj_name": new abap.types.Character(40, {}),
      "devclass": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
      "srcsystem": new abap.types.Character(5, {}),
      "origlang": new abap.types.Character(1, {}),
      "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "abap_language_version": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_aff_types_v1=>ty_abap_language_version"})}, "zif_abapgit_definitions=>ty_item", undefined, {}, {})}, "zif_abapgit_definitions=>ty_file_item", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_files_item_tt");
      if (INPUT && INPUT.ct_files) {ct_files = INPUT.ct_files;}
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$serialize_postprocess({iv_package: iv_package, ii_log: ii_log, ct_files: ct_files});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$validate_before_push(INPUT) {
      let is_comment = INPUT?.is_comment;
      if (is_comment?.getQualifiedName === undefined || is_comment.getQualifiedName() !== "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_COMMENT") { is_comment = undefined; }
      if (is_comment === undefined) { is_comment = new abap.types.Structure({
      "committer": new abap.types.Structure({
      "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_USER-NAME"}),
      "email": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_USER-EMAIL"})}, "zif_abapgit_git_definitions=>ty_git_user", undefined, {}, {}),
      "author": new abap.types.Structure({
      "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_USER-NAME"}),
      "email": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_USER-EMAIL"})}, "zif_abapgit_git_definitions=>ty_git_user", undefined, {}, {}),
      "comment": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_COMMENT-COMMENT"})}, "zif_abapgit_git_definitions=>ty_comment", undefined, {}, {}).set(INPUT.is_comment); }
      let io_stage = INPUT?.io_stage;
      if (io_stage?.getQualifiedName === undefined || io_stage.getQualifiedName() !== "ZCL_ABAPGIT_STAGE") { io_stage = undefined; }
      if (io_stage === undefined) { io_stage = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_STAGE", RTTIName: "\\CLASS=ZCL_ABAPGIT_STAGE"}).set(INPUT.io_stage); }
      let ii_repo_online = INPUT?.ii_repo_online;
      if (ii_repo_online?.getQualifiedName === undefined || ii_repo_online.getQualifiedName() !== "ZIF_ABAPGIT_REPO_ONLINE") { ii_repo_online = undefined; }
      if (ii_repo_online === undefined) { ii_repo_online = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_REPO_ONLINE", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_REPO_ONLINE"}).set(INPUT.ii_repo_online); }
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$validate_before_push({is_comment: is_comment, io_stage: io_stage, ii_repo_online: ii_repo_online});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$wall_message_list(INPUT) {
      let ii_html = INPUT?.ii_html;
      if (ii_html?.getQualifiedName === undefined || ii_html.getQualifiedName() !== "ZIF_ABAPGIT_HTML") { ii_html = undefined; }
      if (ii_html === undefined) { ii_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"}).set(INPUT.ii_html); }
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$wall_message_list({ii_html: ii_html});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$wall_message_repo(INPUT) {
      let is_repo_meta = INPUT?.is_repo_meta;
      if (is_repo_meta?.getQualifiedName === undefined || is_repo_meta.getQualifiedName() !== "ZIF_ABAPGIT_PERSISTENCE=>TY_REPO") { is_repo_meta = undefined; }
      if (is_repo_meta === undefined) { is_repo_meta = new abap.types.Structure({
      "key": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}),
      "url": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_REPO_XML-URL"}),
      "branch_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_REPO_XML-BRANCH_NAME"}),
      "selected_commit": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
      "package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
      "created_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
      "created_at": new abap.types.Packed({length: 21, decimals: 7, qualifiedName: "TIMESTAMPL"}),
      "deserialized_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
      "deserialized_at": new abap.types.Packed({length: 21, decimals: 7, qualifiedName: "TIMESTAMPL"}),
      "offline": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "switched_origin": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_REPO_XML-SWITCHED_ORIGIN"}),
      "dot_abapgit": new abap.types.Structure({
      "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-NAME"}),
      "master_language": new abap.types.Character(1, {"qualifiedName":"SPRAS","ddicName":"SPRAS","description":"SPRAS"}),
      "i18n_languages": abap.types.TableFactory.construct(new abap.types.Character(2, {"qualifiedName":"LAISO","ddicName":"LAISO","description":"LAISO"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_languages"),
      "use_lxe": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "without_translation": abap.types.TableFactory.construct(new abap.types.String({qualifiedName: "STRING"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_dot_abapgit=>ty_dot_abapgit-without_translation"),
      "starting_folder": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-STARTING_FOLDER"}),
      "folder_logic": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-FOLDER_LOGIC"}),
      "ignore": abap.types.TableFactory.construct(new abap.types.String({qualifiedName: "STRING"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_dot_abapgit=>ty_dot_abapgit-ignore"),
      "requirements": abap.types.TableFactory.construct(new abap.types.Structure({
      "component": new abap.types.Character(30, {"description":"DLVUNIT"}),
      "min_release": new abap.types.Character(10, {"qualifiedName":"SAPRELEASE","ddicName":"SAPRELEASE","description":"SAPRELEASE"}),
      "min_patch": new abap.types.Character(10, {"qualifiedName":"SAPPATCHLV","ddicName":"SAPPATCHLV","description":"SAPPATCHLV"})}, "zif_abapgit_dot_abapgit=>ty_requirement", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_dot_abapgit=>ty_requirement_tt"),
      "version_constant": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-VERSION_CONSTANT"}),
      "abap_language_version": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DOT_ABAPGIT=>TY_DOT_ABAPGIT-ABAP_LANGUAGE_VERSION"}),
      "original_system": new abap.types.Character(5, {})}, "zif_abapgit_dot_abapgit=>ty_dot_abapgit", undefined, {}, {}),
      "head_branch": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_REPO_XML-HEAD_BRANCH"}),
      "local_settings": new abap.types.Structure({
      "display_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_LOCAL_SETTINGS-DISPLAY_NAME"}),
      "ignore_subpackages": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "write_protected": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "only_local_objects": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "code_inspector_check_variant": new abap.types.Character(30, {"qualifiedName":"SCI_CHKV","ddicName":"SCI_CHKV","description":"SCI_CHKV"}),
      "block_commit": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "main_language_only": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "suppress_lxe_po_comments": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "labels": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSISTENCE=>TY_LOCAL_SETTINGS-LABELS"}),
      "transport_request": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
      "customizing_request": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
      "flow": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
      "exclude_remote_paths": abap.types.TableFactory.construct(new abap.types.String({qualifiedName: "STRING"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "STRING_TABLE")}, "zif_abapgit_persistence=>ty_local_settings", undefined, {}, {})}, "zif_abapgit_persistence=>ty_repo", undefined, {}, {}).set(INPUT.is_repo_meta); }
      let ii_html = INPUT?.ii_html;
      if (ii_html?.getQualifiedName === undefined || ii_html.getQualifiedName() !== "ZIF_ABAPGIT_HTML") { ii_html = undefined; }
      if (ii_html === undefined) { ii_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"}).set(INPUT.ii_html); }
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$wall_message_repo({is_repo_meta: is_repo_meta, ii_html: ii_html});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
    async zif_abapgit_exit$change_committer_info(INPUT) {
      let iv_repo_url = INPUT?.iv_repo_url;
      let cv_name = new abap.types.Character();
      if (INPUT && INPUT.cv_name) {cv_name = INPUT.cv_name;}
      let cv_email = new abap.types.Character();
      if (INPUT && INPUT.cv_email) {cv_email = INPUT.cv_email;}
      if (abap.compare.initial(zcl_abapgit_exit.gi_exit) === false) {
        try {
          await zcl_abapgit_exit.gi_exit.get().zif_abapgit_exit$change_committer_info({iv_repo_url: iv_repo_url, cv_name: cv_name, cv_email: cv_email});
        } catch (e) {
          if ((abap.Classes['CX_SY_REF_IS_INITIAL'] && e instanceof abap.Classes['CX_SY_REF_IS_INITIAL']) || (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ILLEGAL_METHOD'])) {
          } else {
            throw e;
          }
        }
      }
    }
  }
  abap.Classes['ZCL_ABAPGIT_EXIT'] = zcl_abapgit_exit;
  zcl_abapgit_exit.gi_global_exit = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_EXIT", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_EXIT"});
  zcl_abapgit_exit.gi_exit = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_EXIT", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_EXIT"});
export {zcl_abapgit_exit};