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 | 1x 1x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 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 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 86x 86x 86x 86x 86x 86x 64x 64x 64x 64x 64x 8x 8x 8x 8x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 18x 18x 18x 18x 18x 64x 64x 64x 64x 64x 8x 8x 8x 8x 8x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 64x 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_settings.clas.abap class zcl_abapgit_settings { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'ZCL_ABAPGIT_SETTINGS'; static IMPLEMENTED_INTERFACES = []; static ATTRIBUTES = {"MS_SETTINGS": {"type": () => {return new abap.types.Structure({ "proxy_url": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-PROXY_URL"}), "proxy_port": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-PROXY_PORT"}), "proxy_auth": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-PROXY_AUTH"}), "proxy_bypass": abap.types.TableFactory.construct(new abap.types.Structure({ "sign": new abap.types.Character(1, undefined), "option": new abap.types.Character(2, undefined), "low": new abap.types.Character(255, {"qualifiedName":"zif_abapgit_definitions=>ty_proxy_bypass_url"}), "high": new abap.types.Character(255, {"qualifiedName":"zif_abapgit_definitions=>ty_proxy_bypass_url"})}, undefined, undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_range_proxy_bypass_url"), "run_critical_tests": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "experimental_features": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-EXPERIMENTAL_FEATURES"}), "commitmsg_comment_length": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-COMMITMSG_COMMENT_LENGTH"}), "commitmsg_comment_deflt": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-COMMITMSG_COMMENT_DEFLT"}), "commitmsg_body_size": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-COMMITMSG_BODY_SIZE"}), "commitmsg_hide_author": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zcl_abapgit_settings=>ty_s_settings", undefined, {}, {});}, "visibility": "I", "is_constant": " ", "is_class": " "}, "MS_USER_SETTINGS": {"type": () => {return new abap.types.Structure({ "max_lines": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-MAX_LINES"}), "adt_jump_enabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "show_default_repo": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "link_hints_enabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "link_hint_key": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-link_hint_key"}), "parallel_proc_disabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "icon_scaling": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-icon_scaling"}), "ui_theme": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-UI_THEME"}), "hide_sapgui_hint": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "activate_wo_popup": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "label_colors": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-LABEL_COLORS"}), "default_git_uname": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-DEFAULT_GIT_UNAME"}), "default_git_email": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-DEFAULT_GIT_EMAIL"})}, "zif_abapgit_persist_user=>ty_s_user_settings", undefined, {}, {});}, "visibility": "I", "is_constant": " ", "is_class": " "}, "C_COMMITMSG_COMMENT_LENGTH_DFT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "C_COMMITMSG_BODY_SIZE_DFT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "C_ICON_SCALING": {"type": () => {return new abap.types.Structure({ "large": new abap.types.Character(1, {}), "small": new abap.types.Character(1, {})}, undefined, undefined, {}, {});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "C_UI_THEME": {"type": () => {return new abap.types.Structure({ "default": new abap.types.String({qualifiedName: "STRING"}), "dark": new abap.types.String({qualifiedName: "STRING"}), "belize": new abap.types.String({qualifiedName: "STRING"}), "synced_with_gui": new abap.types.String({qualifiedName: "STRING"})}, undefined, undefined, {}, {});}, "visibility": "U", "is_constant": "X", "is_class": "X"}}; static METHODS = {"SET_DEFAULT_LINK_HINT_KEY": {"visibility": "I", "parameters": {}}, "SET_PROXY_URL": {"visibility": "U", "parameters": {"IV_URL": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "SET_PROXY_PORT": {"visibility": "U", "parameters": {"IV_PORT": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "SET_PROXY_AUTHENTICATION": {"visibility": "U", "parameters": {"IV_AUTH": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "SET_PROXY_BYPASS": {"visibility": "U", "parameters": {"IT_BYPASS": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({ "sign": new abap.types.Character(1, undefined), "option": new abap.types.Character(2, undefined), "low": new abap.types.Character(255, {"qualifiedName":"zif_abapgit_definitions=>ty_proxy_bypass_url"}), "high": new abap.types.Character(255, {"qualifiedName":"zif_abapgit_definitions=>ty_proxy_bypass_url"})}, undefined, undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_range_proxy_bypass_url");}, "is_optional": " "}}}, "GET_PROXY_URL": {"visibility": "U", "parameters": {"RV_PROXY_URL": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "GET_PROXY_PORT": {"visibility": "U", "parameters": {"RV_PORT": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "GET_PROXY_AUTHENTICATION": {"visibility": "U", "parameters": {"RV_AUTH": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "GET_PROXY_BYPASS": {"visibility": "U", "parameters": {"RT_BYPASS": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({ "sign": new abap.types.Character(1, undefined), "option": new abap.types.Character(2, undefined), "low": new abap.types.Character(255, {"qualifiedName":"zif_abapgit_definitions=>ty_proxy_bypass_url"}), "high": new abap.types.Character(255, {"qualifiedName":"zif_abapgit_definitions=>ty_proxy_bypass_url"})}, undefined, undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_range_proxy_bypass_url");}, "is_optional": " "}}}, "SET_RUN_CRITICAL_TESTS": {"visibility": "U", "parameters": {"IV_RUN": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "GET_RUN_CRITICAL_TESTS": {"visibility": "U", "parameters": {"RV_RUN": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "SET_EXPERIMENTAL_FEATURES": {"visibility": "U", "parameters": {"IV_FEATURES": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "GET_EXPERIMENTAL_FEATURES": {"visibility": "U", "parameters": {"RV_FEATURES": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "SET_MAX_LINES": {"visibility": "U", "parameters": {"IV_LINES": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}}}, "GET_MAX_LINES": {"visibility": "U", "parameters": {"RV_LINES": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}}}, "SET_ADT_JUMP_ENANBLED": {"visibility": "U", "parameters": {"IV_ADT_JUMP_ENABLED": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "GET_ADT_JUMP_ENABLED": {"visibility": "U", "parameters": {"RV_ADT_JUMP_ENABLED": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "SET_COMMITMSG_COMMENT_LENGTH": {"visibility": "U", "parameters": {"IV_LENGTH": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}}}, "GET_COMMITMSG_COMMENT_LENGTH": {"visibility": "U", "parameters": {"RV_LENGTH": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}}}, "SET_COMMITMSG_COMMENT_DEFAULT": {"visibility": "U", "parameters": {"IV_DEFAULT": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "GET_COMMITMSG_COMMENT_DEFAULT": {"visibility": "U", "parameters": {"RV_DEFAULT": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "SET_COMMITMSG_BODY_SIZE": {"visibility": "U", "parameters": {"IV_LENGTH": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}}}, "GET_COMMITMSG_BODY_SIZE": {"visibility": "U", "parameters": {"RV_LENGTH": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}}}, "SET_COMMITMSG_HIDE_AUTHOR": {"visibility": "U", "parameters": {"IV_HIDE_AUTHOR": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "GET_COMMITMSG_HIDE_AUTHOR": {"visibility": "U", "parameters": {"RV_HIDE_AUTHOR": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "GET_SETTINGS_XML": {"visibility": "U", "parameters": {"RV_SETTINGS_XML": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "GET_USER_SETTINGS": {"visibility": "U", "parameters": {"RS_SETTINGS": {"type": () => {return new abap.types.Structure({ "max_lines": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-MAX_LINES"}), "adt_jump_enabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "show_default_repo": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "link_hints_enabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "link_hint_key": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-link_hint_key"}), "parallel_proc_disabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "icon_scaling": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-icon_scaling"}), "ui_theme": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-UI_THEME"}), "hide_sapgui_hint": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "activate_wo_popup": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "label_colors": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-LABEL_COLORS"}), "default_git_uname": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-DEFAULT_GIT_UNAME"}), "default_git_email": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-DEFAULT_GIT_EMAIL"})}, "zif_abapgit_persist_user=>ty_s_user_settings", undefined, {}, {});}, "is_optional": " "}}}, "SET_XML_SETTINGS": {"visibility": "U", "parameters": {"IV_SETTINGS_XML": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "SET_DEFAULTS": {"visibility": "U", "parameters": {}}, "SET_USER_SETTINGS": {"visibility": "U", "parameters": {"IS_USER_SETTINGS": {"type": () => {return new abap.types.Structure({ "max_lines": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-MAX_LINES"}), "adt_jump_enabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "show_default_repo": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "link_hints_enabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "link_hint_key": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-link_hint_key"}), "parallel_proc_disabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "icon_scaling": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-icon_scaling"}), "ui_theme": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-UI_THEME"}), "hide_sapgui_hint": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "activate_wo_popup": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "label_colors": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-LABEL_COLORS"}), "default_git_uname": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-DEFAULT_GIT_UNAME"}), "default_git_email": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-DEFAULT_GIT_EMAIL"})}, "zif_abapgit_persist_user=>ty_s_user_settings", undefined, {}, {});}, "is_optional": " "}}}, "GET_SHOW_DEFAULT_REPO": {"visibility": "U", "parameters": {"RV_SHOW_DEFAULT_REPO": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "SET_SHOW_DEFAULT_REPO": {"visibility": "U", "parameters": {"IV_SHOW_DEFAULT_REPO": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "SET_LINK_HINTS_ENABLED": {"visibility": "U", "parameters": {"IV_LINK_HINTS_ENABLED": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "GET_LINK_HINTS_ENABLED": {"visibility": "U", "parameters": {"RV_LINK_HINTS_ENABLED": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "SET_LINK_HINT_KEY": {"visibility": "U", "parameters": {"IV_LINK_HINT_KEY": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "GET_LINK_HINT_KEY": {"visibility": "U", "parameters": {"RV_LINK_HINT_KEY": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "SET_PARALLEL_PROC_DISABLED": {"visibility": "U", "parameters": {"IV_DISABLE_PARALLEL_PROC": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "GET_PARALLEL_PROC_DISABLED": {"visibility": "U", "parameters": {"RV_DISABLE_PARALLEL_PROC": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "GET_ICON_SCALING": {"visibility": "U", "parameters": {"RV_SCALING": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-icon_scaling"});}, "is_optional": " "}}}, "SET_ICON_SCALING": {"visibility": "U", "parameters": {"IV_SCALING": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-icon_scaling"});}, "is_optional": " "}}}, "GET_UI_THEME": {"visibility": "U", "parameters": {"RV_UI_THEME": {"type": () => {return new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-UI_THEME"});}, "is_optional": " "}, "IV_RESOLVE_SYNCED": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "SET_UI_THEME": {"visibility": "U", "parameters": {"IV_UI_THEME": {"type": () => {return new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-UI_THEME"});}, "is_optional": " "}}}, "GET_ACTIVATE_WO_POPUP": {"visibility": "U", "parameters": {"RV_ACT_WO_POPUP": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "SET_ACTIVATE_WO_POPUP": {"visibility": "U", "parameters": {"IV_ACT_WO_POPUP": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "SET_DEFAULT_GIT_UNAME": {"visibility": "U", "parameters": {"IV_DEFAULT_GIT_UNAME": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "GET_DEFAULT_GIT_UNAME": {"visibility": "U", "parameters": {"RV_DEFAULT_GIT_UNAME": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "SET_DEFAULT_GIT_EMAIL": {"visibility": "U", "parameters": {"IV_DEFAULT_GIT_EMAIL": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "GET_DEFAULT_GIT_EMAIL": {"visibility": "U", "parameters": {"RV_DEFAULT_GIT_EMAIL": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}}; #ms_settings; #ms_user_settings; constructor() { this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { "set_default_link_hint_key": this.#set_default_link_hint_key.bind(this), "set_proxy_url": this.set_proxy_url.bind(this), "set_proxy_port": this.set_proxy_port.bind(this), "set_proxy_authentication": this.set_proxy_authentication.bind(this), "set_proxy_bypass": this.set_proxy_bypass.bind(this), "get_proxy_url": this.get_proxy_url.bind(this), "get_proxy_port": this.get_proxy_port.bind(this), "get_proxy_authentication": this.get_proxy_authentication.bind(this), "get_proxy_bypass": this.get_proxy_bypass.bind(this), "set_run_critical_tests": this.set_run_critical_tests.bind(this), "get_run_critical_tests": this.get_run_critical_tests.bind(this), "set_experimental_features": this.set_experimental_features.bind(this), "get_experimental_features": this.get_experimental_features.bind(this), "set_max_lines": this.set_max_lines.bind(this), "get_max_lines": this.get_max_lines.bind(this), "set_adt_jump_enanbled": this.set_adt_jump_enanbled.bind(this), "get_adt_jump_enabled": this.get_adt_jump_enabled.bind(this), "set_commitmsg_comment_length": this.set_commitmsg_comment_length.bind(this), "get_commitmsg_comment_length": this.get_commitmsg_comment_length.bind(this), "set_commitmsg_comment_default": this.set_commitmsg_comment_default.bind(this), "get_commitmsg_comment_default": this.get_commitmsg_comment_default.bind(this), "set_commitmsg_body_size": this.set_commitmsg_body_size.bind(this), "get_commitmsg_body_size": this.get_commitmsg_body_size.bind(this), "set_commitmsg_hide_author": this.set_commitmsg_hide_author.bind(this), "get_commitmsg_hide_author": this.get_commitmsg_hide_author.bind(this), "get_settings_xml": this.get_settings_xml.bind(this), "get_user_settings": this.get_user_settings.bind(this), "set_xml_settings": this.set_xml_settings.bind(this), "set_defaults": this.set_defaults.bind(this), "set_user_settings": this.set_user_settings.bind(this), "get_show_default_repo": this.get_show_default_repo.bind(this), "set_show_default_repo": this.set_show_default_repo.bind(this), "set_link_hints_enabled": this.set_link_hints_enabled.bind(this), "get_link_hints_enabled": this.get_link_hints_enabled.bind(this), "set_link_hint_key": this.set_link_hint_key.bind(this), "get_link_hint_key": this.get_link_hint_key.bind(this), "set_parallel_proc_disabled": this.set_parallel_proc_disabled.bind(this), "get_parallel_proc_disabled": this.get_parallel_proc_disabled.bind(this), "get_icon_scaling": this.get_icon_scaling.bind(this), "set_icon_scaling": this.set_icon_scaling.bind(this), "get_ui_theme": this.get_ui_theme.bind(this), "set_ui_theme": this.set_ui_theme.bind(this), "get_activate_wo_popup": this.get_activate_wo_popup.bind(this), "set_activate_wo_popup": this.set_activate_wo_popup.bind(this), "set_default_git_uname": this.set_default_git_uname.bind(this), "get_default_git_uname": this.get_default_git_uname.bind(this), "set_default_git_email": this.set_default_git_email.bind(this), "get_default_git_email": this.get_default_git_email.bind(this), }; this.#ms_settings = new abap.types.Structure({ "proxy_url": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-PROXY_URL"}), "proxy_port": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-PROXY_PORT"}), "proxy_auth": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-PROXY_AUTH"}), "proxy_bypass": abap.types.TableFactory.construct(new abap.types.Structure({ "sign": new abap.types.Character(1, undefined), "option": new abap.types.Character(2, undefined), "low": new abap.types.Character(255, {"qualifiedName":"zif_abapgit_definitions=>ty_proxy_bypass_url"}), "high": new abap.types.Character(255, {"qualifiedName":"zif_abapgit_definitions=>ty_proxy_bypass_url"})}, undefined, undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_range_proxy_bypass_url"), "run_critical_tests": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "experimental_features": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-EXPERIMENTAL_FEATURES"}), "commitmsg_comment_length": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-COMMITMSG_COMMENT_LENGTH"}), "commitmsg_comment_deflt": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-COMMITMSG_COMMENT_DEFLT"}), "commitmsg_body_size": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-COMMITMSG_BODY_SIZE"}), "commitmsg_hide_author": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zcl_abapgit_settings=>ty_s_settings", undefined, {}, {}); this.FRIENDS_ACCESS_INSTANCE["ms_settings"] = this.#ms_settings; this.#ms_user_settings = new abap.types.Structure({ "max_lines": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-MAX_LINES"}), "adt_jump_enabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "show_default_repo": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "link_hints_enabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "link_hint_key": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-link_hint_key"}), "parallel_proc_disabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "icon_scaling": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-icon_scaling"}), "ui_theme": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-UI_THEME"}), "hide_sapgui_hint": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "activate_wo_popup": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "label_colors": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-LABEL_COLORS"}), "default_git_uname": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-DEFAULT_GIT_UNAME"}), "default_git_email": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-DEFAULT_GIT_EMAIL"})}, "zif_abapgit_persist_user=>ty_s_user_settings", undefined, {}, {}); this.FRIENDS_ACCESS_INSTANCE["ms_user_settings"] = this.#ms_user_settings; this.c_commitmsg_comment_length_dft = zcl_abapgit_settings.c_commitmsg_comment_length_dft; this.c_commitmsg_body_size_dft = zcl_abapgit_settings.c_commitmsg_body_size_dft; this.c_icon_scaling = zcl_abapgit_settings.c_icon_scaling; this.c_ui_theme = zcl_abapgit_settings.c_ui_theme; } async constructor_(INPUT) { if (super.constructor_) { await super.constructor_(INPUT); } return this; } async get_activate_wo_popup() { let rv_act_wo_popup = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); rv_act_wo_popup.set(this.#ms_user_settings.get().activate_wo_popup); return rv_act_wo_popup; } async get_adt_jump_enabled() { let rv_adt_jump_enabled = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); rv_adt_jump_enabled.set(this.#ms_user_settings.get().adt_jump_enabled); return rv_adt_jump_enabled; } async get_commitmsg_body_size() { let rv_length = new abap.types.Integer({qualifiedName: "I"}); rv_length.set(this.#ms_settings.get().commitmsg_body_size); return rv_length; } async get_commitmsg_comment_default() { let rv_default = new abap.types.String({qualifiedName: "STRING"}); rv_default.set(this.#ms_settings.get().commitmsg_comment_deflt); return rv_default; } async get_commitmsg_comment_length() { let rv_length = new abap.types.Integer({qualifiedName: "I"}); rv_length.set(this.#ms_settings.get().commitmsg_comment_length); return rv_length; } async get_commitmsg_hide_author() { let rv_hide_author = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); rv_hide_author.set(this.#ms_settings.get().commitmsg_hide_author); return rv_hide_author; } async get_experimental_features() { let rv_features = new abap.types.String({qualifiedName: "STRING"}); if (abap.compare.eq((await (await abap.Classes['ZCL_ABAPGIT_FACTORY'].get_environment()).get().zif_abapgit_environment$is_merged()), abap.builtin.abap_false)) { rv_features.set(this.#ms_settings.get().experimental_features); } return rv_features; } async get_icon_scaling() { let rv_scaling = new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-icon_scaling"}); rv_scaling.set(this.#ms_user_settings.get().icon_scaling); return rv_scaling; } async get_link_hints_enabled() { let rv_link_hints_enabled = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); rv_link_hints_enabled.set(this.#ms_user_settings.get().link_hints_enabled); return rv_link_hints_enabled; } async get_link_hint_key() { let rv_link_hint_key = new abap.types.String({qualifiedName: "STRING"}); rv_link_hint_key.set(this.#ms_user_settings.get().link_hint_key); return rv_link_hint_key; } async get_max_lines() { let rv_lines = new abap.types.Integer({qualifiedName: "I"}); rv_lines.set(this.#ms_user_settings.get().max_lines); return rv_lines; } async get_parallel_proc_disabled() { let rv_disable_parallel_proc = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); rv_disable_parallel_proc.set(this.#ms_user_settings.get().parallel_proc_disabled); return rv_disable_parallel_proc; } async get_proxy_authentication() { let rv_auth = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); rv_auth.set(this.#ms_settings.get().proxy_auth); return rv_auth; } async get_proxy_bypass() { let rt_bypass = abap.types.TableFactory.construct(new abap.types.Structure({ "sign": new abap.types.Character(1, undefined), "option": new abap.types.Character(2, undefined), "low": new abap.types.Character(255, {"qualifiedName":"zif_abapgit_definitions=>ty_proxy_bypass_url"}), "high": new abap.types.Character(255, {"qualifiedName":"zif_abapgit_definitions=>ty_proxy_bypass_url"})}, undefined, undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_range_proxy_bypass_url"); rt_bypass.set(this.#ms_settings.get().proxy_bypass); return rt_bypass; } async get_proxy_port() { let rv_port = new abap.types.String({qualifiedName: "STRING"}); rv_port.set(this.#ms_settings.get().proxy_port); return rv_port; } async get_proxy_url() { let rv_proxy_url = new abap.types.String({qualifiedName: "STRING"}); rv_proxy_url.set(this.#ms_settings.get().proxy_url); return rv_proxy_url; } async get_run_critical_tests() { let rv_run = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); if (abap.compare.eq((await (await abap.Classes['ZCL_ABAPGIT_FACTORY'].get_environment()).get().zif_abapgit_environment$is_merged()), abap.builtin.abap_false)) { rv_run.set(this.#ms_settings.get().run_critical_tests); } return rv_run; } async get_settings_xml() { let rv_settings_xml = new abap.types.String({qualifiedName: "STRING"}); let li_output = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_XML_OUTPUT", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_XML_OUTPUT"}); li_output.set(await (new abap.Classes['ZCL_ABAPGIT_XML_OUTPUT']()).constructor_()); await li_output.get().zif_abapgit_xml_output$add({iv_name: abap.Classes['ZCL_ABAPGIT_PERSISTENCE_DB'].c_type_settings, ig_data: this.#ms_settings}); rv_settings_xml.set((await li_output.get().zif_abapgit_xml_output$render())); return rv_settings_xml; } async get_show_default_repo() { let rv_show_default_repo = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); rv_show_default_repo.set(this.#ms_user_settings.get().show_default_repo); return rv_show_default_repo; } async get_ui_theme(INPUT) { let rv_ui_theme = new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-UI_THEME"}); let iv_resolve_synced = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); if (INPUT && INPUT.iv_resolve_synced) {iv_resolve_synced.set(INPUT.iv_resolve_synced);} if (INPUT === undefined || INPUT.iv_resolve_synced === undefined) {iv_resolve_synced = abap.builtin.abap_true;} let lv_frontend_theme = new abap.types.String({qualifiedName: "STRING"}); let lv_cl_gui = new abap.types.String({qualifiedName: "STRING"}); lv_cl_gui.set(abap.CharacterFactory.get(16, 'CL_GUI_RESOURCES')); rv_ui_theme.set(this.#ms_user_settings.get().ui_theme); if (abap.compare.eq(rv_ui_theme, zcl_abapgit_settings.c_ui_theme.get().synced_with_gui) && abap.compare.eq(iv_resolve_synced, abap.builtin.abap_true)) { try { if (abap.Classes[lv_cl_gui.get().trimEnd()] === undefined) { if (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_CLASS'.trimEnd()] === undefined) { throw "CX_SY_DYN_CALL_ILLEGAL_CLASS not found"; } else {throw new abap.Classes['CX_SY_DYN_CALL_ILLEGAL_CLASS'.trimEnd()](); } } try { await abap.Classes[lv_cl_gui.get().trimEnd()].get_themename({themename: lv_frontend_theme}) abap.builtin.sy.get().subrc.set(0); } catch (e) { if (e.classic) { switch (e.classic.toUpperCase()) { case "GET_STD_RESOURCE_ERROR": abap.builtin.sy.get().subrc.set(1); break; default: abap.builtin.sy.get().subrc.set(2); break; } } else { throw e; } }; if (abap.compare.ne(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0))) { rv_ui_theme.set(zcl_abapgit_settings.c_ui_theme.get().default); return rv_ui_theme; } } catch (e) { if ((abap.Classes['CX_SY_DYN_CALL_ERROR'] && e instanceof abap.Classes['CX_SY_DYN_CALL_ERROR'])) { rv_ui_theme.set(zcl_abapgit_settings.c_ui_theme.get().default); return rv_ui_theme; } else { throw e; } } let unique108 = lv_frontend_theme; if (abap.compare.eq(unique108, abap.CharacterFactory.get(6, 'Belize'))) { rv_ui_theme.set(zcl_abapgit_settings.c_ui_theme.get().belize); } else { if (abap.compare.cs(lv_frontend_theme, abap.CharacterFactory.get(4, 'dark'))) { rv_ui_theme.set(zcl_abapgit_settings.c_ui_theme.get().dark); } else { rv_ui_theme.set(zcl_abapgit_settings.c_ui_theme.get().default); } } } return rv_ui_theme; } async get_user_settings() { let rs_settings = new abap.types.Structure({ "max_lines": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-MAX_LINES"}), "adt_jump_enabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "show_default_repo": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "link_hints_enabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "link_hint_key": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-link_hint_key"}), "parallel_proc_disabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "icon_scaling": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-icon_scaling"}), "ui_theme": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-UI_THEME"}), "hide_sapgui_hint": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "activate_wo_popup": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "label_colors": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-LABEL_COLORS"}), "default_git_uname": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-DEFAULT_GIT_UNAME"}), "default_git_email": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-DEFAULT_GIT_EMAIL"})}, "zif_abapgit_persist_user=>ty_s_user_settings", undefined, {}, {}); rs_settings.set(this.#ms_user_settings); return rs_settings; } async set_activate_wo_popup(INPUT) { let iv_act_wo_popup = INPUT?.iv_act_wo_popup; if (iv_act_wo_popup?.getQualifiedName === undefined || iv_act_wo_popup.getQualifiedName() !== "ABAP_BOOL") { iv_act_wo_popup = undefined; } if (iv_act_wo_popup === undefined) { iv_act_wo_popup = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.iv_act_wo_popup); } this.#ms_user_settings.get().activate_wo_popup.set(iv_act_wo_popup); } async set_adt_jump_enanbled(INPUT) { let iv_adt_jump_enabled = INPUT?.iv_adt_jump_enabled; if (iv_adt_jump_enabled?.getQualifiedName === undefined || iv_adt_jump_enabled.getQualifiedName() !== "ABAP_BOOL") { iv_adt_jump_enabled = undefined; } if (iv_adt_jump_enabled === undefined) { iv_adt_jump_enabled = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.iv_adt_jump_enabled); } this.#ms_user_settings.get().adt_jump_enabled.set(iv_adt_jump_enabled); } async set_commitmsg_body_size(INPUT) { let iv_length = INPUT?.iv_length; if (iv_length?.getQualifiedName === undefined || iv_length.getQualifiedName() !== "I") { iv_length = undefined; } if (iv_length === undefined) { iv_length = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.iv_length); } this.#ms_settings.get().commitmsg_body_size.set(iv_length); } async set_commitmsg_comment_default(INPUT) { let iv_default = INPUT?.iv_default; if (iv_default?.getQualifiedName === undefined || iv_default.getQualifiedName() !== "STRING") { iv_default = undefined; } if (iv_default === undefined) { iv_default = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_default); } this.#ms_settings.get().commitmsg_comment_deflt.set(iv_default); } async set_commitmsg_comment_length(INPUT) { let iv_length = INPUT?.iv_length; if (iv_length?.getQualifiedName === undefined || iv_length.getQualifiedName() !== "I") { iv_length = undefined; } if (iv_length === undefined) { iv_length = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.iv_length); } this.#ms_settings.get().commitmsg_comment_length.set(iv_length); } async set_commitmsg_hide_author(INPUT) { let iv_hide_author = INPUT?.iv_hide_author; if (iv_hide_author?.getQualifiedName === undefined || iv_hide_author.getQualifiedName() !== "ABAP_BOOL") { iv_hide_author = undefined; } if (iv_hide_author === undefined) { iv_hide_author = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.iv_hide_author); } this.#ms_settings.get().commitmsg_hide_author.set(iv_hide_author); } async set_defaults() { this.#ms_settings.clear(); await this.set_proxy_authentication({iv_auth: abap.builtin.abap_false}); await this.set_run_critical_tests({iv_run: abap.builtin.abap_false}); await this.set_experimental_features({iv_features: abap.CharacterFactory.get(1, '')}); await this.set_max_lines({iv_lines: new abap.types.Integer().set(500)}); await this.set_adt_jump_enanbled({iv_adt_jump_enabled: abap.builtin.abap_true}); await this.set_show_default_repo({iv_show_default_repo: abap.builtin.abap_false}); await this.set_commitmsg_comment_length({iv_length: zcl_abapgit_settings.c_commitmsg_comment_length_dft}); await this.set_commitmsg_body_size({iv_length: zcl_abapgit_settings.c_commitmsg_body_size_dft}); await this.#set_default_link_hint_key(); await this.set_icon_scaling({iv_scaling: abap.CharacterFactory.get(1, '')}); } async #set_default_link_hint_key() { await this.set_link_hint_key({iv_link_hint_key: new abap.types.String().set(`t`)}); } async set_experimental_features(INPUT) { let iv_features = INPUT?.iv_features; if (iv_features?.getQualifiedName === undefined || iv_features.getQualifiedName() !== "STRING") { iv_features = undefined; } if (iv_features === undefined) { iv_features = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_features); } this.#ms_settings.get().experimental_features.set(iv_features); } async set_icon_scaling(INPUT) { let iv_scaling = INPUT?.iv_scaling; if (iv_scaling?.getQualifiedName === undefined || iv_scaling.getQualifiedName() !== "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-ICON_SCALING") { iv_scaling = undefined; } if (iv_scaling === undefined) { iv_scaling = new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-icon_scaling"}).set(INPUT.iv_scaling); } this.#ms_user_settings.get().icon_scaling.set(iv_scaling); if (abap.compare.na(this.#ms_user_settings.get().icon_scaling, zcl_abapgit_settings.c_icon_scaling)) { this.#ms_user_settings.get().icon_scaling.set(abap.CharacterFactory.get(1, '')); } } async set_link_hints_enabled(INPUT) { let iv_link_hints_enabled = INPUT?.iv_link_hints_enabled; if (iv_link_hints_enabled?.getQualifiedName === undefined || iv_link_hints_enabled.getQualifiedName() !== "ABAP_BOOL") { iv_link_hints_enabled = undefined; } if (iv_link_hints_enabled === undefined) { iv_link_hints_enabled = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.iv_link_hints_enabled); } this.#ms_user_settings.get().link_hints_enabled.set(iv_link_hints_enabled); } async set_link_hint_key(INPUT) { let iv_link_hint_key = INPUT?.iv_link_hint_key; if (iv_link_hint_key?.getQualifiedName === undefined || iv_link_hint_key.getQualifiedName() !== "STRING") { iv_link_hint_key = undefined; } if (iv_link_hint_key === undefined) { iv_link_hint_key = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_link_hint_key); } this.#ms_user_settings.get().link_hint_key.set(iv_link_hint_key); } async set_max_lines(INPUT) { let iv_lines = INPUT?.iv_lines; if (iv_lines?.getQualifiedName === undefined || iv_lines.getQualifiedName() !== "I") { iv_lines = undefined; } if (iv_lines === undefined) { iv_lines = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.iv_lines); } this.#ms_user_settings.get().max_lines.set(iv_lines); } async set_parallel_proc_disabled(INPUT) { let iv_disable_parallel_proc = INPUT?.iv_disable_parallel_proc; if (iv_disable_parallel_proc?.getQualifiedName === undefined || iv_disable_parallel_proc.getQualifiedName() !== "ABAP_BOOL") { iv_disable_parallel_proc = undefined; } if (iv_disable_parallel_proc === undefined) { iv_disable_parallel_proc = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.iv_disable_parallel_proc); } this.#ms_user_settings.get().parallel_proc_disabled.set(iv_disable_parallel_proc); } async set_proxy_authentication(INPUT) { let iv_auth = INPUT?.iv_auth; if (iv_auth?.getQualifiedName === undefined || iv_auth.getQualifiedName() !== "ABAP_BOOL") { iv_auth = undefined; } if (iv_auth === undefined) { iv_auth = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.iv_auth); } this.#ms_settings.get().proxy_auth.set(iv_auth); } async set_proxy_bypass(INPUT) { let it_bypass = abap.types.TableFactory.construct(new abap.types.Structure({ "sign": new abap.types.Character(1, undefined), "option": new abap.types.Character(2, undefined), "low": new abap.types.Character(255, {"qualifiedName":"zif_abapgit_definitions=>ty_proxy_bypass_url"}), "high": new abap.types.Character(255, {"qualifiedName":"zif_abapgit_definitions=>ty_proxy_bypass_url"})}, undefined, undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_range_proxy_bypass_url"); if (INPUT && INPUT.it_bypass) {it_bypass.set(INPUT.it_bypass);} this.#ms_settings.get().proxy_bypass.set(it_bypass); } async set_proxy_port(INPUT) { let iv_port = INPUT?.iv_port; if (iv_port?.getQualifiedName === undefined || iv_port.getQualifiedName() !== "STRING") { iv_port = undefined; } if (iv_port === undefined) { iv_port = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_port); } this.#ms_settings.get().proxy_port.set(iv_port); } async set_proxy_url(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); } this.#ms_settings.get().proxy_url.set(iv_url); } async set_run_critical_tests(INPUT) { let iv_run = INPUT?.iv_run; if (iv_run?.getQualifiedName === undefined || iv_run.getQualifiedName() !== "ABAP_BOOL") { iv_run = undefined; } if (iv_run === undefined) { iv_run = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.iv_run); } this.#ms_settings.get().run_critical_tests.set(iv_run); } async set_show_default_repo(INPUT) { let iv_show_default_repo = INPUT?.iv_show_default_repo; if (iv_show_default_repo?.getQualifiedName === undefined || iv_show_default_repo.getQualifiedName() !== "ABAP_BOOL") { iv_show_default_repo = undefined; } if (iv_show_default_repo === undefined) { iv_show_default_repo = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.iv_show_default_repo); } this.#ms_user_settings.get().show_default_repo.set(iv_show_default_repo); } async set_ui_theme(INPUT) { let iv_ui_theme = INPUT?.iv_ui_theme; if (iv_ui_theme?.getQualifiedName === undefined || iv_ui_theme.getQualifiedName() !== "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-UI_THEME") { iv_ui_theme = undefined; } if (iv_ui_theme === undefined) { iv_ui_theme = new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-UI_THEME"}).set(INPUT.iv_ui_theme); } this.#ms_user_settings.get().ui_theme.set(iv_ui_theme); if (abap.compare.ne(this.#ms_user_settings.get().ui_theme, zcl_abapgit_settings.c_ui_theme.get().default) && abap.compare.ne(this.#ms_user_settings.get().ui_theme, zcl_abapgit_settings.c_ui_theme.get().dark) && abap.compare.ne(this.#ms_user_settings.get().ui_theme, zcl_abapgit_settings.c_ui_theme.get().belize) && abap.compare.ne(this.#ms_user_settings.get().ui_theme, zcl_abapgit_settings.c_ui_theme.get().synced_with_gui)) { this.#ms_user_settings.get().ui_theme.set(zcl_abapgit_settings.c_ui_theme.get().default); } } async set_user_settings(INPUT) { let is_user_settings = INPUT?.is_user_settings; if (is_user_settings?.getQualifiedName === undefined || is_user_settings.getQualifiedName() !== "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS") { is_user_settings = undefined; } if (is_user_settings === undefined) { is_user_settings = new abap.types.Structure({ "max_lines": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-MAX_LINES"}), "adt_jump_enabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "show_default_repo": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "link_hints_enabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "link_hint_key": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-link_hint_key"}), "parallel_proc_disabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "icon_scaling": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-icon_scaling"}), "ui_theme": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-UI_THEME"}), "hide_sapgui_hint": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "activate_wo_popup": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "label_colors": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-LABEL_COLORS"}), "default_git_uname": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-DEFAULT_GIT_UNAME"}), "default_git_email": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-DEFAULT_GIT_EMAIL"})}, "zif_abapgit_persist_user=>ty_s_user_settings", undefined, {}, {}).set(INPUT.is_user_settings); } this.#ms_user_settings.set(is_user_settings); if (abap.compare.initial(this.#ms_user_settings.get().link_hint_key)) { await this.#set_default_link_hint_key(); } } async set_xml_settings(INPUT) { let iv_settings_xml = INPUT?.iv_settings_xml; if (iv_settings_xml?.getQualifiedName === undefined || iv_settings_xml.getQualifiedName() !== "STRING") { iv_settings_xml = undefined; } if (iv_settings_xml === undefined) { iv_settings_xml = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_settings_xml); } let lo_input = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_XML_INPUT", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_XML_INPUT"}); lo_input.set(await (new abap.Classes['ZCL_ABAPGIT_XML_INPUT']()).constructor_({iv_xml: iv_settings_xml})); this.#ms_settings.clear(); await lo_input.get().zif_abapgit_xml_input$read({iv_name: abap.Classes['ZCL_ABAPGIT_PERSISTENCE_DB'].c_type_settings, cg_data: this.#ms_settings}); } async get_default_git_uname() { let rv_default_git_uname = new abap.types.String({qualifiedName: "STRING"}); rv_default_git_uname.set(this.#ms_user_settings.get().default_git_uname); return rv_default_git_uname; } async set_default_git_uname(INPUT) { let iv_default_git_uname = INPUT?.iv_default_git_uname; if (iv_default_git_uname?.getQualifiedName === undefined || iv_default_git_uname.getQualifiedName() !== "STRING") { iv_default_git_uname = undefined; } if (iv_default_git_uname === undefined) { iv_default_git_uname = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_default_git_uname); } this.#ms_user_settings.get().default_git_uname.set(iv_default_git_uname); } async get_default_git_email() { let rv_default_git_email = new abap.types.String({qualifiedName: "STRING"}); rv_default_git_email.set(this.#ms_user_settings.get().default_git_email); return rv_default_git_email; } async set_default_git_email(INPUT) { let iv_default_git_email = INPUT?.iv_default_git_email; if (iv_default_git_email?.getQualifiedName === undefined || iv_default_git_email.getQualifiedName() !== "STRING") { iv_default_git_email = undefined; } if (iv_default_git_email === undefined) { iv_default_git_email = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_default_git_email); } this.#ms_user_settings.get().default_git_email.set(iv_default_git_email); } } abap.Classes['ZCL_ABAPGIT_SETTINGS'] = zcl_abapgit_settings; zcl_abapgit_settings.c_commitmsg_comment_length_dft = new abap.types.Integer({qualifiedName: "I"}); zcl_abapgit_settings.c_commitmsg_comment_length_dft.set(50); zcl_abapgit_settings.c_commitmsg_body_size_dft = new abap.types.Integer({qualifiedName: "I"}); zcl_abapgit_settings.c_commitmsg_body_size_dft.set(72); zcl_abapgit_settings.c_icon_scaling = new abap.types.Structure({ "large": new abap.types.Character(1, {}), "small": new abap.types.Character(1, {})}, undefined, undefined, {}, {}); zcl_abapgit_settings.c_icon_scaling.get().large.set('L'); zcl_abapgit_settings.c_icon_scaling.get().small.set('S'); zcl_abapgit_settings.c_ui_theme = new abap.types.Structure({ "default": new abap.types.String({qualifiedName: "STRING"}), "dark": new abap.types.String({qualifiedName: "STRING"}), "belize": new abap.types.String({qualifiedName: "STRING"}), "synced_with_gui": new abap.types.String({qualifiedName: "STRING"})}, undefined, undefined, {}, {}); zcl_abapgit_settings.c_ui_theme.get().default.set('default'); zcl_abapgit_settings.c_ui_theme.get().dark.set('dark'); zcl_abapgit_settings.c_ui_theme.get().belize.set('belize'); zcl_abapgit_settings.c_ui_theme.get().synced_with_gui.set('synced_with_gui'); zcl_abapgit_settings.ty_s_settings = new abap.types.Structure({ "proxy_url": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-PROXY_URL"}), "proxy_port": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-PROXY_PORT"}), "proxy_auth": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-PROXY_AUTH"}), "proxy_bypass": abap.types.TableFactory.construct(new abap.types.Structure({ "sign": new abap.types.Character(1, undefined), "option": new abap.types.Character(2, undefined), "low": new abap.types.Character(255, {"qualifiedName":"zif_abapgit_definitions=>ty_proxy_bypass_url"}), "high": new abap.types.Character(255, {"qualifiedName":"zif_abapgit_definitions=>ty_proxy_bypass_url"})}, undefined, undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_range_proxy_bypass_url"), "run_critical_tests": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "experimental_features": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-EXPERIMENTAL_FEATURES"}), "commitmsg_comment_length": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-COMMITMSG_COMMENT_LENGTH"}), "commitmsg_comment_deflt": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-COMMITMSG_COMMENT_DEFLT"}), "commitmsg_body_size": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SETTINGS=>TY_S_SETTINGS-COMMITMSG_BODY_SIZE"}), "commitmsg_hide_author": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zcl_abapgit_settings=>ty_s_settings", undefined, {}, {}); export {zcl_abapgit_settings}; |