Skip to content

/AWS1/CL_CMTREPLACECONTENTRY

Information about a replacement content entry in the conflict of a merge or pull request operation.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_filepath TYPE /AWS1/CMTPATH /AWS1/CMTPATH

The path of the conflicting file.

iv_replacementtype TYPE /AWS1/CMTREPLACEMENTTYPEENUM /AWS1/CMTREPLACEMENTTYPEENUM

The replacement type to use when determining how to resolve the conflict.

Optional arguments:

iv_content TYPE /AWS1/CMTFILECONTENT /AWS1/CMTFILECONTENT

The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.

iv_filemode TYPE /AWS1/CMTFILEMODETYPEENUM /AWS1/CMTFILEMODETYPEENUM

The file mode to apply during conflict resoltion.


Queryable Attributes

filePath

The path of the conflicting file.

Accessible with the following methods

Method Description
GET_FILEPATH() Getter for FILEPATH, with configurable default
ASK_FILEPATH() Getter for FILEPATH w/ exceptions if field has no value
HAS_FILEPATH() Determine if FILEPATH has a value

replacementType

The replacement type to use when determining how to resolve the conflict.

Accessible with the following methods

Method Description
GET_REPLACEMENTTYPE() Getter for REPLACEMENTTYPE, with configurable default
ASK_REPLACEMENTTYPE() Getter for REPLACEMENTTYPE w/ exceptions if field has no val
HAS_REPLACEMENTTYPE() Determine if REPLACEMENTTYPE has a value

content

The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.

Accessible with the following methods

Method Description
GET_CONTENT() Getter for CONTENT, with configurable default
ASK_CONTENT() Getter for CONTENT w/ exceptions if field has no value
HAS_CONTENT() Determine if CONTENT has a value

fileMode

The file mode to apply during conflict resoltion.

Accessible with the following methods

Method Description
GET_FILEMODE() Getter for FILEMODE, with configurable default
ASK_FILEMODE() Getter for FILEMODE w/ exceptions if field has no value
HAS_FILEMODE() Determine if FILEMODE has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_REPLACECONTENTENTRIES

TYPES TT_REPLACECONTENTENTRIES TYPE STANDARD TABLE OF REF TO /AWS1/CL_CMTREPLACECONTENTRY WITH DEFAULT KEY
.