mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
set_files_remote and set_objects, #833
basic methods for supporting issue 833
This commit is contained in:
parent
adc88e99f5
commit
76dea7f7f1
|
@ -59,6 +59,9 @@ CLASS lcl_repo DEFINITION ABSTRACT FRIENDS lcl_repo_srv.
|
||||||
RAISING zcx_abapgit_exception,
|
RAISING zcx_abapgit_exception,
|
||||||
is_offline
|
is_offline
|
||||||
RETURNING VALUE(rv_offline) TYPE abap_bool
|
RETURNING VALUE(rv_offline) TYPE abap_bool
|
||||||
|
RAISING zcx_abapgit_exception,
|
||||||
|
set_files_remote
|
||||||
|
IMPORTING it_files TYPE zif_abapgit_definitions=>ty_files_tt
|
||||||
RAISING zcx_abapgit_exception.
|
RAISING zcx_abapgit_exception.
|
||||||
|
|
||||||
PROTECTED SECTION.
|
PROTECTED SECTION.
|
||||||
|
@ -126,6 +129,9 @@ CLASS lcl_repo_online DEFINITION INHERITING FROM lcl_repo FINAL.
|
||||||
RETURNING VALUE(rt_results) TYPE zif_abapgit_definitions=>ty_results_tt
|
RETURNING VALUE(rt_results) TYPE zif_abapgit_definitions=>ty_results_tt
|
||||||
RAISING zcx_abapgit_exception,
|
RAISING zcx_abapgit_exception,
|
||||||
reset_status,
|
reset_status,
|
||||||
|
set_objects
|
||||||
|
IMPORTING it_objects TYPE zif_abapgit_definitions=>ty_objects_tt
|
||||||
|
RAISING zcx_abapgit_exception,
|
||||||
initialize
|
initialize
|
||||||
RAISING zcx_abapgit_exception,
|
RAISING zcx_abapgit_exception,
|
||||||
rebuild_local_checksums REDEFINITION,
|
rebuild_local_checksums REDEFINITION,
|
||||||
|
@ -163,10 +169,6 @@ ENDCLASS. "lcl_repo_online DEFINITION
|
||||||
CLASS lcl_repo_offline DEFINITION INHERITING FROM lcl_repo FINAL.
|
CLASS lcl_repo_offline DEFINITION INHERITING FROM lcl_repo FINAL.
|
||||||
|
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
METHODS:
|
|
||||||
set_files_remote
|
|
||||||
IMPORTING it_files TYPE zif_abapgit_definitions=>ty_files_tt
|
|
||||||
RAISING zcx_abapgit_exception.
|
|
||||||
|
|
||||||
ENDCLASS. "lcl_repo_offline DEFINITION
|
ENDCLASS. "lcl_repo_offline DEFINITION
|
||||||
|
|
||||||
|
|
|
@ -7,12 +7,6 @@
|
||||||
*----------------------------------------------------------------------*
|
*----------------------------------------------------------------------*
|
||||||
CLASS lcl_repo_offline IMPLEMENTATION.
|
CLASS lcl_repo_offline IMPLEMENTATION.
|
||||||
|
|
||||||
METHOD set_files_remote.
|
|
||||||
|
|
||||||
mt_remote = it_files.
|
|
||||||
|
|
||||||
ENDMETHOD.
|
|
||||||
|
|
||||||
ENDCLASS. "lcl_repo_offline IMPLEMENTATION
|
ENDCLASS. "lcl_repo_offline IMPLEMENTATION
|
||||||
|
|
||||||
*----------------------------------------------------------------------*
|
*----------------------------------------------------------------------*
|
||||||
|
@ -70,6 +64,10 @@ CLASS lcl_repo_online IMPLEMENTATION.
|
||||||
CLEAR mt_status.
|
CLEAR mt_status.
|
||||||
ENDMETHOD. " reset_status.
|
ENDMETHOD. " reset_status.
|
||||||
|
|
||||||
|
METHOD set_objects.
|
||||||
|
mt_objects = it_objects.
|
||||||
|
ENDMETHOD.
|
||||||
|
|
||||||
METHOD refresh.
|
METHOD refresh.
|
||||||
|
|
||||||
DATA: lx_exception TYPE REF TO zcx_abapgit_exception.
|
DATA: lx_exception TYPE REF TO zcx_abapgit_exception.
|
||||||
|
@ -718,6 +716,12 @@ CLASS lcl_repo IMPLEMENTATION.
|
||||||
rv_offline = ms_data-offline.
|
rv_offline = ms_data-offline.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
|
METHOD set_files_remote.
|
||||||
|
|
||||||
|
mt_remote = it_files.
|
||||||
|
|
||||||
|
ENDMETHOD.
|
||||||
|
|
||||||
METHOD refresh.
|
METHOD refresh.
|
||||||
|
|
||||||
mv_do_local_refresh = abap_true.
|
mv_do_local_refresh = abap_true.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user