mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 11:46:38 +08:00
Merge branch 'main' into hvam/web0704
This commit is contained in:
commit
1514c4a03b
|
@ -8,7 +8,7 @@ INTERFACE zif_abapgit_exit PUBLIC.
|
||||||
|
|
||||||
TYPES ty_ci_repos TYPE STANDARD TABLE OF ty_ci_repo WITH DEFAULT KEY.
|
TYPES ty_ci_repos TYPE STANDARD TABLE OF ty_ci_repo WITH DEFAULT KEY.
|
||||||
|
|
||||||
TYPES ty_object_types TYPE STANDARD TABLE OF tadir-object WITH DEFAULT KEY.
|
TYPES ty_object_types TYPE HASHED TABLE OF tadir-object WITH UNIQUE KEY table_line.
|
||||||
|
|
||||||
TYPES:
|
TYPES:
|
||||||
BEGIN OF ty_class_key,
|
BEGIN OF ty_class_key,
|
||||||
|
|
|
@ -207,6 +207,12 @@ CLASS zcl_abapgit_objects DEFINITION
|
||||||
!iv_filename TYPE string
|
!iv_filename TYPE string
|
||||||
RETURNING
|
RETURNING
|
||||||
VALUE(rv_extra) TYPE string.
|
VALUE(rv_extra) TYPE string.
|
||||||
|
|
||||||
|
CLASS-METHODS is_type_supported_exit
|
||||||
|
IMPORTING
|
||||||
|
!iv_obj_type TYPE zif_abapgit_definitions=>ty_item-obj_type
|
||||||
|
RETURNING
|
||||||
|
VALUE(rv_bool) TYPE abap_bool.
|
||||||
ENDCLASS.
|
ENDCLASS.
|
||||||
|
|
||||||
|
|
||||||
|
@ -1103,7 +1109,10 @@ CLASS zcl_abapgit_objects IMPLEMENTATION.
|
||||||
ls_item-obj_type = iv_obj_type.
|
ls_item-obj_type = iv_obj_type.
|
||||||
|
|
||||||
ls_supported_obj_type-obj_type = iv_obj_type.
|
ls_supported_obj_type-obj_type = iv_obj_type.
|
||||||
ls_supported_obj_type-supported = is_supported( ls_item ).
|
|
||||||
|
IF is_type_supported_exit( iv_obj_type ) = abap_true.
|
||||||
|
ls_supported_obj_type-supported = is_supported( ls_item ).
|
||||||
|
ENDIF.
|
||||||
|
|
||||||
INSERT ls_supported_obj_type INTO TABLE gt_supported_obj_types.
|
INSERT ls_supported_obj_type INTO TABLE gt_supported_obj_types.
|
||||||
|
|
||||||
|
@ -1117,6 +1126,23 @@ CLASS zcl_abapgit_objects IMPLEMENTATION.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
|
|
||||||
|
METHOD is_type_supported_exit.
|
||||||
|
|
||||||
|
DATA:
|
||||||
|
lt_types TYPE zif_abapgit_exit=>ty_object_types,
|
||||||
|
li_exit TYPE REF TO zif_abapgit_exit.
|
||||||
|
|
||||||
|
INSERT iv_obj_type INTO TABLE lt_types.
|
||||||
|
|
||||||
|
li_exit = zcl_abapgit_exit=>get_instance( ).
|
||||||
|
li_exit->change_supported_object_types( CHANGING ct_types = lt_types ).
|
||||||
|
|
||||||
|
READ TABLE lt_types TRANSPORTING NO FIELDS WITH TABLE KEY table_line = iv_obj_type.
|
||||||
|
rv_bool = boolc( sy-subrc = 0 ).
|
||||||
|
|
||||||
|
ENDMETHOD.
|
||||||
|
|
||||||
|
|
||||||
METHOD jump.
|
METHOD jump.
|
||||||
|
|
||||||
DATA: li_obj TYPE REF TO zif_abapgit_object,
|
DATA: li_obj TYPE REF TO zif_abapgit_object,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user