All files / src/ui/pages/diff zcl_abapgit_gui_page_diff_base.clas.locals_imp.abap

100% Statements 24/24
100% Branches 0/0
100% Functions 0/0
100% Lines 24/24

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 251x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
CLASS lcl_filter DEFINITION FINAL.
  PUBLIC SECTION.
    INTERFACES zif_abapgit_object_filter.
 
    METHODS constructor
      IMPORTING
        is_item TYPE zif_abapgit_definitions=>ty_item.
 
  PRIVATE SECTION.
    DATA mt_filter TYPE zif_abapgit_definitions=>ty_tadir_tt.
ENDCLASS.
 
CLASS lcl_filter IMPLEMENTATION.
  METHOD constructor.
    DATA ls_filter TYPE zif_abapgit_definitions=>ty_tadir.
    ls_filter-object   = is_item-obj_type.
    ls_filter-obj_name = is_item-obj_name.
    INSERT ls_filter INTO TABLE mt_filter.
  ENDMETHOD.
 
  METHOD zif_abapgit_object_filter~get_filter.
    rt_filter = mt_filter.
  ENDMETHOD.
ENDCLASS.