mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
move method get_transport_layer
to private (#6655)
This commit is contained in:
parent
60f01499e5
commit
ba4cf57dcc
|
@ -83,10 +83,6 @@ CLASS ltcl_sap_package IMPLEMENTATION.
|
||||||
|
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
METHOD zif_abapgit_sap_package~get_transport_layer. "##needed
|
|
||||||
|
|
||||||
ENDMETHOD.
|
|
||||||
|
|
||||||
METHOD zif_abapgit_sap_package~list_superpackages. "##needed
|
METHOD zif_abapgit_sap_package~list_superpackages. "##needed
|
||||||
|
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
|
@ -104,10 +104,6 @@ CLASS ltcl_folder_logic_package IMPLEMENTATION.
|
||||||
RETURN.
|
RETURN.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
METHOD zif_abapgit_sap_package~get_transport_layer.
|
|
||||||
RETURN.
|
|
||||||
ENDMETHOD.
|
|
||||||
|
|
||||||
METHOD zif_abapgit_sap_package~create.
|
METHOD zif_abapgit_sap_package~create.
|
||||||
RETURN.
|
RETURN.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
@ -199,10 +195,6 @@ CLASS ltcl_folder_logic IMPLEMENTATION.
|
||||||
RETURN.
|
RETURN.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
METHOD zif_abapgit_sap_package~get_transport_layer.
|
|
||||||
RETURN.
|
|
||||||
ENDMETHOD.
|
|
||||||
|
|
||||||
METHOD zif_abapgit_sap_package~create.
|
METHOD zif_abapgit_sap_package~create.
|
||||||
RETURN.
|
RETURN.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
@ -417,10 +409,6 @@ CLASS ltcl_folder_logic_namespaces IMPLEMENTATION.
|
||||||
RETURN.
|
RETURN.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
METHOD zif_abapgit_sap_package~get_transport_layer.
|
|
||||||
RETURN.
|
|
||||||
ENDMETHOD.
|
|
||||||
|
|
||||||
METHOD zif_abapgit_sap_package~create.
|
METHOD zif_abapgit_sap_package~create.
|
||||||
RETURN.
|
RETURN.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
@ -560,10 +548,6 @@ CLASS ltcl_folder_logic_no_parent IMPLEMENTATION.
|
||||||
RETURN.
|
RETURN.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
METHOD zif_abapgit_sap_package~get_transport_layer.
|
|
||||||
RETURN.
|
|
||||||
ENDMETHOD.
|
|
||||||
|
|
||||||
METHOD zif_abapgit_sap_package~create.
|
METHOD zif_abapgit_sap_package~create.
|
||||||
RETURN.
|
RETURN.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
|
@ -14,6 +14,12 @@ CLASS zcl_abapgit_sap_package DEFINITION
|
||||||
PRIVATE SECTION.
|
PRIVATE SECTION.
|
||||||
DATA: mv_package TYPE devclass.
|
DATA: mv_package TYPE devclass.
|
||||||
|
|
||||||
|
METHODS get_transport_layer
|
||||||
|
RETURNING
|
||||||
|
VALUE(rv_transport_layer) TYPE devlayer
|
||||||
|
RAISING
|
||||||
|
zcx_abapgit_exception .
|
||||||
|
|
||||||
ENDCLASS.
|
ENDCLASS.
|
||||||
|
|
||||||
|
|
||||||
|
@ -90,7 +96,7 @@ CLASS zcl_abapgit_sap_package IMPLEMENTATION.
|
||||||
|
|
||||||
" For transportable packages, get default transport and layer
|
" For transportable packages, get default transport and layer
|
||||||
IF ls_package-devclass(1) <> '$' AND ls_package-pdevclass IS INITIAL.
|
IF ls_package-devclass(1) <> '$' AND ls_package-pdevclass IS INITIAL.
|
||||||
ls_package-pdevclass = zif_abapgit_sap_package~get_transport_layer( ).
|
ls_package-pdevclass = get_transport_layer( ).
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
cl_package_factory=>create_new_package(
|
cl_package_factory=>create_new_package(
|
||||||
|
@ -230,7 +236,7 @@ CLASS zcl_abapgit_sap_package IMPLEMENTATION.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
|
|
||||||
METHOD zif_abapgit_sap_package~get_transport_layer.
|
METHOD get_transport_layer.
|
||||||
|
|
||||||
" Get default transport layer
|
" Get default transport layer
|
||||||
CALL FUNCTION 'TR_GET_TRANSPORT_TARGET'
|
CALL FUNCTION 'TR_GET_TRANSPORT_TARGET'
|
||||||
|
|
|
@ -26,7 +26,7 @@ INTERFACE zif_abapgit_sap_package
|
||||||
zcx_abapgit_exception .
|
zcx_abapgit_exception .
|
||||||
METHODS read_parent
|
METHODS read_parent
|
||||||
RETURNING
|
RETURNING
|
||||||
VALUE(rv_parentcl) TYPE tdevc-parentcl
|
VALUE(rv_parentcl) TYPE devclass
|
||||||
RAISING
|
RAISING
|
||||||
zcx_abapgit_exception .
|
zcx_abapgit_exception .
|
||||||
METHODS read_description
|
METHODS read_description
|
||||||
|
@ -57,9 +57,4 @@ INTERFACE zif_abapgit_sap_package
|
||||||
VALUE(rs_transport_type) TYPE zif_abapgit_definitions=>ty_transport_type
|
VALUE(rs_transport_type) TYPE zif_abapgit_definitions=>ty_transport_type
|
||||||
RAISING
|
RAISING
|
||||||
zcx_abapgit_exception .
|
zcx_abapgit_exception .
|
||||||
METHODS get_transport_layer
|
|
||||||
RETURNING
|
|
||||||
VALUE(rv_transport_layer) TYPE devlayer
|
|
||||||
RAISING
|
|
||||||
zcx_abapgit_exception .
|
|
||||||
ENDINTERFACE.
|
ENDINTERFACE.
|
||||||
|
|
|
@ -109,10 +109,6 @@ CLASS ltcl_run_checks IMPLEMENTATION.
|
||||||
RETURN.
|
RETURN.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
METHOD zif_abapgit_sap_package~get_transport_layer.
|
|
||||||
RETURN.
|
|
||||||
ENDMETHOD.
|
|
||||||
|
|
||||||
METHOD zif_abapgit_sap_package~create.
|
METHOD zif_abapgit_sap_package~create.
|
||||||
RETURN.
|
RETURN.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
|
@ -320,10 +320,6 @@ CLASS ltcl_sap_package_mock IMPLEMENTATION.
|
||||||
|
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
METHOD zif_abapgit_sap_package~get_transport_layer.
|
|
||||||
|
|
||||||
ENDMETHOD.
|
|
||||||
|
|
||||||
METHOD zif_abapgit_sap_package~list_subpackages.
|
METHOD zif_abapgit_sap_package~list_subpackages.
|
||||||
|
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user